Files
homelab/stacks/recipe/nginx/default.conf
2026-03-23 22:18:03 +01:00

15 lines
403 B
Plaintext

server {
listen 80;
server_name localhost;
root /usr/share/nginx/html;
index index.html;
# Do not store responses in browser or shared caches (Cloudflare, etc. respect unless overridden)
add_header Cache-Control "no-store, no-cache, must-revalidate, max-age=0" always;
add_header Pragma "no-cache" always;
location / {
try_files $uri $uri/ /index.html;
}
}