Skip to content

Commit b57803e

Browse files
committed
Update proxy_cache_lock_age & proxy_cache_lock_timeout
1 parent 84dcfa0 commit b57803e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

rootfs/etc/nginx/templates/default.conf.template

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ server {
5555
proxy_cache_valid 200 206 7d;
5656
proxy_cache_valid 301 302 0;
5757
proxy_cache_lock on;
58-
proxy_cache_lock_age 5m;
59-
proxy_cache_lock_timeout 2h;
58+
proxy_cache_lock_age 2m;
59+
proxy_cache_lock_timeout 1h;
6060
proxy_cache_use_stale error timeout invalid_header updating http_500 http_502 http_503 http_504;
6161
proxy_cache_revalidate on;
6262

0 commit comments

Comments
 (0)