More detailed example for the nginx sidecar use case #2674
-
Hi copilot team, Here's the rough idea of how I attempted it:
And my nginx.conf instructs it to reach the web service like so (nginx.conf):
With this kind of setup, nginx errors like so I've also tried making nginx the main container, and the webserver containers its sidecars, but that fails in a similar way. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
Hi @vkuts ! Fargate tasks use the
It should work 🤞 ! |
Beta Was this translation helpful? Give feedback.
Hi @vkuts !
Fargate tasks use the
awsvpc
network mode. This means that the other containers will be accessible vialocalhost
. So I think if you update the config like this:It should work 🤞 !