diff --git a/web/nginx.conf b/web/nginx.conf index 79ac86d..5e942f8 100644 --- a/web/nginx.conf +++ b/web/nginx.conf @@ -2,11 +2,14 @@ server { listen 80; server_name _; + resolver 127.0.0.11 ipv6=off valid=10s; + root /usr/share/nginx/html; index index.html; location /api/ { - proxy_pass http://cold-display-guard-api:19080; + set $api_upstream http://cold-display-guard-api:19080; + proxy_pass $api_upstream; proxy_http_version 1.1; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr;