I am trying to get rid of deprecated Docker links in my configuration. What\'s left is getting rid of those Bad Gateway nginx reverse proxy errors when I recrea
In several cases where I had this error, adding resolver_timeout 1s; to the Nginx config solved the issue. Most of the time I don't have a resolver entry.
Edit: what also worked for containers where I could explicitly define a nameserver: resolver DNS-IP valid=1s;