From 07a1d9a31d91aee941e471e3a2b26f8c8f44ab43 Mon Sep 17 00:00:00 2001 From: "Waylon S. Walker" Date: Sat, 17 May 2025 09:16:07 -0500 Subject: [PATCH] revert --- helm-chart/templates/_helpers.tpl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/helm-chart/templates/_helpers.tpl b/helm-chart/templates/_helpers.tpl index d895400..375c596 100644 --- a/helm-chart/templates/_helpers.tpl +++ b/helm-chart/templates/_helpers.tpl @@ -54,8 +54,8 @@ server { proxy_ssl_verify off; error_page 404 {{ .errorPage }}; - more_clear_headers Cache-Control; - more_set_headers Cache-Control "public, max-age={{ $.Values.maxAge }}, stale-while-revalidate={{ $.Values.staleWhileRevalidate }}, stale-if-error={{ $.Values.staleIfError }}" always; + proxy_hide_header Cache-Control; + add_header Cache-Control "public, max-age={{ $.Values.maxAge }}, stale-while-revalidate={{ $.Values.staleWhileRevalidate }}, stale-if-error={{ $.Values.staleIfError }}" always; } }