Add Docker DNS resolver configuration to nginx.conf
This commit is contained in:
@@ -18,6 +18,9 @@ http {
|
||||
listen 80;
|
||||
server_name localhost;
|
||||
|
||||
# Docker DNS resolver
|
||||
resolver 127.0.0.11 valid=30s;
|
||||
|
||||
# Health proxy endpoint - forwards to internal python service
|
||||
location /healthcheck {
|
||||
proxy_pass http://health-proxy:8081$request_uri;
|
||||
|
||||
Reference in New Issue
Block a user