Add Docker DNS resolver configuration to nginx.conf

This commit is contained in:
MayaChat
2025-11-24 13:05:51 -05:00
parent e084502940
commit 999e894a96

View File

@@ -18,6 +18,9 @@ http {
listen 80; listen 80;
server_name localhost; server_name localhost;
# Docker DNS resolver
resolver 127.0.0.11 valid=30s;
# Health proxy endpoint - forwards to internal python service # Health proxy endpoint - forwards to internal python service
location /healthcheck { location /healthcheck {
proxy_pass http://health-proxy:8081$request_uri; proxy_pass http://health-proxy:8081$request_uri;