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;