server { listen 80; server_name _; root /usr/share/nginx/html; index index.html; charset utf-8; gzip on; gzip_vary on; gzip_min_length 1024; gzip_types text/plain text/css application/javascript application/json image/svg+xml; location = /healthz { access_log off; default_type text/plain; return 200 "ok\n"; } location / { add_header Cache-Control "no-store"; try_files $uri $uri/ /index.html; } location ~* \.(css|js|svg|png|jpg|jpeg|gif|ico|woff2?)$ { add_header Cache-Control "no-store"; } }