server { listen 8080; server_name _; root /usr/share/nginx/html; location = /health { default_type text/plain; return 200 "ok\n"; } location / { try_files $uri $uri/ /index.html; add_header Cache-Control "public, max-age=31536000, immutable" always; } location = /index.html { add_header Cache-Control "no-cache" always; } }