Docker Network Nginx Resolver

前端 未结 6 1615
挽巷
挽巷 2020-11-30 23:49

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

6条回答
  •  爱一瞬间的悲伤
    2020-12-01 00:35

    We hit this with docker containers on windows trying to lookup host.docker.internal using the docker internal resolver at 172.0.0.11. All queries would resolve correctly except host.docker.internal. Fix was to add the ipv6=off flag to the resolver line in nginx.conf.

提交回复
热议问题