| 1234567891011121314151617181920212223242526272829303132 |
- server {
- listen 80;
- server_name _;
- server_tokens off;
- root /usr/share/nginx/html;
- index index.html;
- add_header X-Content-Type-Options nosniff always;
- add_header X-Frame-Options DENY always;
- add_header Referrer-Policy strict-origin-when-cross-origin always;
- location = /healthz {
- access_log off;
- add_header Content-Type text/plain;
- return 200 "ok\n";
- }
- location = /index.html {
- add_header Cache-Control "no-cache, no-store, must-revalidate";
- }
- location /assets/ {
- try_files $uri =404;
- expires 1y;
- add_header Cache-Control "public, immutable";
- }
- location / {
- try_files $uri $uri/ /index.html;
- }
- }
|