From 407049258470c10d48abe54261b3cebc74e63060 Mon Sep 17 00:00:00 2001 From: wiz Date: Sat, 18 Nov 2023 13:22:17 +0900 Subject: [PATCH] ops: Set nginx to ignore Pragma header for no-cache endpoints --- production/nginx/location-api-v1-services.conf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/production/nginx/location-api-v1-services.conf b/production/nginx/location-api-v1-services.conf index f35205041..d3f233da8 100644 --- a/production/nginx/location-api-v1-services.conf +++ b/production/nginx/location-api-v1-services.conf @@ -5,6 +5,7 @@ location /api/v1/services/account { add_header 'Cache-Control' 'private, no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0'; proxy_hide_header Cache-Control; proxy_hide_header Expires; + proxy_hide_header Pragma; proxy_hide_header onion-location; proxy_hide_header strict-transport-security; proxy_hide_header content-security-policy; @@ -17,6 +18,7 @@ location /api/v1/services/auth { add_header 'Cache-Control' 'private, no-store, no-cache, must-revalidate, proxy-revalidate, max-age=0'; proxy_hide_header Cache-Control; proxy_hide_header Expires; + proxy_hide_header Pragma; proxy_hide_header onion-location; proxy_hide_header strict-transport-security; proxy_hide_header content-security-policy;