diff --git a/compose/frontend/default.conf b/compose/frontend/default.conf index 1f176252f..3049e07a9 100644 --- a/compose/frontend/default.conf +++ b/compose/frontend/default.conf @@ -62,6 +62,7 @@ server { proxy_cache_use_stale error timeout updating http_500 http_502 http_503 http_504; proxy_cache_valid 200 1m; add_header X-Proxy-Cache $upstream_cache_status; + proxy_cache_bypass $http_cachebypass; } location /django-media/ { @@ -76,6 +77,7 @@ server { proxy_cache_use_stale error timeout updating http_500 http_502 http_503 http_504; proxy_cache_valid 200 1d; add_header X-Proxy-Cache $upstream_cache_status; + proxy_cache_bypass $http_cachebypass; } # redirect server error pages to the static page /50x.html