This commit is contained in:
Waylon S. Walker 2025-05-17 09:16:07 -05:00
parent 62480a439f
commit 07a1d9a31d

View file

@ -54,8 +54,8 @@ server {
proxy_ssl_verify off; proxy_ssl_verify off;
error_page 404 {{ .errorPage }}; error_page 404 {{ .errorPage }};
more_clear_headers Cache-Control; proxy_hide_header Cache-Control;
more_set_headers Cache-Control "public, max-age={{ $.Values.maxAge }}, stale-while-revalidate={{ $.Values.staleWhileRevalidate }}, stale-if-error={{ $.Values.staleIfError }}" always; add_header Cache-Control "public, max-age={{ $.Values.maxAge }}, stale-while-revalidate={{ $.Values.staleWhileRevalidate }}, stale-if-error={{ $.Values.staleIfError }}" always;
} }
} }