From 0e2cea9029eeacfe1aeb30738e0c3f5a52c8d0ec Mon Sep 17 00:00:00 2001 From: jxxghp Date: Sun, 9 Jul 2023 09:53:59 +0800 Subject: [PATCH] fix --- nginx.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nginx.conf b/nginx.conf index ec274017..ba3c69b1 100644 --- a/nginx.conf +++ b/nginx.conf @@ -11,7 +11,7 @@ events { http { # 设置缓存路径和缓存区大小 - proxy_cache_path /tmp/cache/nginx levels=1:2 keys_zone=my_cache:10m max_size=100m inactive=60m use_temp_path=off; + proxy_cache_path /tmp levels=1:2 keys_zone=my_cache:10m max_size=100m inactive=60m use_temp_path=off; sendfile on;