diff --git a/mytv/alpine/nginx.conf b/mytv/alpine/nginx.conf index 275258c..06b75c0 100644 --- a/mytv/alpine/nginx.conf +++ b/mytv/alpine/nginx.conf @@ -20,7 +20,7 @@ http { types_hash_max_size 2048; # 缓存路径配置 - proxy_cache_path /tmp/nginx_cache levels=1:2 keys_zone=my_cache:10m max_size=100m inactive=24h use_temp_path=off; + proxy_cache_path /var/cache/nginx levels=1:2 keys_zone=my_cache:10m max_size=100m inactive=24h use_temp_path=off; # 日志格式 log_format main '$remote_addr - $remote_user [$time_local] "$request" '