Refactor Nginx config to remove redundant Expires headers (#1112)

Removed redundant 'add_header Expires 0;' lines and ensured 'expires 0;' is used consistently.

Co-authored-by: Simon <simobilleter@gmail.com>
This commit is contained in:
Matthew Momjian
2026-02-05 06:46:34 -05:00
committed by GitHub
parent df19f44394
commit 99568e0a74

View File

@@ -57,14 +57,13 @@ server {
location = /index.html {
add_header Cache-Control "no-store, no-cache, must-revalidate";
add_header Pragma "no-cache";
add_header Expires 0;
expires 0;
}
location / {
add_header Cache-Control "no-store, no-cache, must-revalidate";
add_header Pragma "no-cache";
add_header Expires 0;
expires 0;
try_files $uri $uri/ /index.html =404;
}
}