(I know others have asked this question before, but I\'m not able to solve the problem using the solutions proposed in other posts, so i figured i would try to post my c
Well you could achieve that by editing your /etc/hosts file and add the proper entry for your web host
1.1.1.1 web
Obviouslly you'll have to replace 1.1.1.1 with the web server's real ip address (a private one I suppose). Save the file and try again. Another workaround would be to replace in the config:
upstream docker-web {
server web:8000;
}
with
upstream docker-web {
server web-ip-address:8000;
}
If you'll go for the 2nd, don't forget to restart/reload nginx!