server { listen 8080; root /usr/share/nginx/html; client_max_body_size 6m; location = /healthz { return 200; } location = /api/admin { return 404; } location ^~ /api/admin/ { return 404; } location /api/ { proxy_pass ${ATLAS_GATEWAY_URL}; proxy_ssl_server_name on; proxy_set_header Host $proxy_host; proxy_set_header X-Forwarded-Proto $scheme; proxy_read_timeout 85s; } location /assets/ { try_files $uri =404; add_header Cache-Control "public, max-age=31536000, immutable"; } location / { add_header Cache-Control "no-cache"; try_files $uri /index.html; } }