diff --git a/data/nginx.conf b/data/nginx.conf index 254890c78..112918fb9 100644 --- a/data/nginx.conf +++ b/data/nginx.conf @@ -12,7 +12,7 @@ http { 'rqt[s]=$request_time rqs[bytes]=$body_bytes_sent ' '"$request" ref="$http_referer" "$http_user_agent"'; access_log /dev/stdout main; - proxy_cache_path /tmp/nginx levels=1:2 keys_zone=STATIC:1d inactive=10d max_size=1g; + proxy_cache_path /tmp/nginx levels=1:2 keys_zone=STATIC:10m inactive=24h max_size=1g; sendfile on; keepalive_timeout 65; @@ -53,7 +53,7 @@ http { proxy_set_header Host $proxy_host; proxy_buffering on; proxy_cache STATIC; - proxy_cache_valid 200 10d; + proxy_cache_valid 200 1d; proxy_cache_use_stale error timeout invalid_header updating http_500 http_502 http_503 http_504; expires 7d; add_header Cache-Control "public";