Remove the cache for now
This commit is contained in:
parent
63abe5bd0b
commit
da6748a322
|
@ -180,11 +180,12 @@ in {
|
||||||
proxy_buffering on;
|
proxy_buffering on;
|
||||||
proxy_redirect off;
|
proxy_redirect off;
|
||||||
|
|
||||||
proxy_cache CACHE;
|
## TODO: consider uncommenting
|
||||||
proxy_cache_valid 200 7d;
|
# proxy_cache CACHE;
|
||||||
proxy_cache_valid 410 24h;
|
# proxy_cache_valid 200 7d;
|
||||||
proxy_cache_use_stale error timeout updating http_500 http_502 http_503 http_504;
|
# proxy_cache_valid 410 24h;
|
||||||
add_header X-Cached $upstream_cache_status;
|
# proxy_cache_use_stale error timeout updating http_500 http_502 http_503 http_504;
|
||||||
|
# add_header X-Cached $upstream_cache_status;
|
||||||
|
|
||||||
tcp_nodelay on;
|
tcp_nodelay on;
|
||||||
'';
|
'';
|
||||||
|
|
Loading…
Reference in New Issue