From 99568e0a743d470971b026a02d3faa65d801310e Mon Sep 17 00:00:00 2001 From: Matthew Momjian <50788000+mmomjian@users.noreply.github.com> Date: Thu, 5 Feb 2026 06:46:34 -0500 Subject: [PATCH] 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 --- docker_assets/nginx.conf | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docker_assets/nginx.conf b/docker_assets/nginx.conf index ee2841ab..75014784 100644 --- a/docker_assets/nginx.conf +++ b/docker_assets/nginx.conf @@ -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; } }