diff --git a/kubernetes/helm_charts/core/nginx-public-ingress/values.j2 b/kubernetes/helm_charts/core/nginx-public-ingress/values.j2 index 402b2b9fdd20f9abc48158ba8dd90c6643596b6e..35adc47be7b8e26deef751cc575c50bb5b8e8341 100644 --- a/kubernetes/helm_charts/core/nginx-public-ingress/values.j2 +++ b/kubernetes/helm_charts/core/nginx-public-ingress/values.j2 @@ -162,6 +162,9 @@ proxyconfig: | proxy_cache_key $proxy_host$request_uri; proxy_cache framework_cache; add_header X-Proxy-Cache $upstream_cache_status; + proxy_cache_use_stale error timeout updating http_500 http_502 http_503 http_504; + proxy_cache_background_update on; + proxy_cache_lock on; proxy_cache_valid 200 3600s; rewrite ^/api/(.*) /$1 break; @@ -474,6 +477,9 @@ proxyconfig: | proxy_cache_key $proxy_host$request_uri; proxy_cache proxy_cache; add_header X-Proxy-Cache $upstream_cache_status; + proxy_cache_use_stale error timeout updating http_500 http_502 http_503 http_504; + proxy_cache_background_update on; + proxy_cache_lock on; proxy_cache_valid 200 3600s; proxy_set_header Host $host; @@ -488,6 +494,9 @@ proxyconfig: | proxy_cache_key $proxy_host$request_uri; proxy_cache framework_cache; add_header X-Proxy-Cache $upstream_cache_status; + proxy_cache_use_stale error timeout updating http_500 http_502 http_503 http_504; + proxy_cache_background_update on; + proxy_cache_lock on; proxy_cache_valid 200 3600s; rewrite ^/api/channel/v1/read/(.*) /channel/v1/read/$1 break;