server { listen 80; server_name _; root /usr/share/nginx/html; index index.html; sendfile on; tcp_nopush on; gzip on; gzip_vary on; gzip_min_length 256; gzip_types text/plain text/css application/json application/javascript text/html; location = /healthz { access_log off; default_type text/plain; return 200 "ok\n"; } location /downloads/ { add_header Content-Disposition "attachment"; add_header X-Content-Type-Options "nosniff"; expires 1h; try_files $uri =404; } location = /manifest.json { add_header Cache-Control "no-cache"; try_files $uri =404; } location / { try_files $uri $uri/ =404; } }