server { listen 80; server_name _; root /usr/share/nginx/html; index index.html; server_tokens off; location = /healthz { access_log off; default_type text/plain; return 200 "ok\n"; } location /assets/ { try_files $uri =404; add_header Cache-Control "public, max-age=31536000, immutable"; } location /downloads/ { try_files $uri =404; add_header Cache-Control "no-cache"; add_header Content-Disposition "attachment"; } location / { try_files $uri $uri/ /index.html; add_header Cache-Control "no-cache"; } }