Update nginx.conf

This commit is contained in:
rad168
2025-08-28 05:00:08 +08:00
committed by GitHub
parent 814dd60b1d
commit e7dd335e53

View File

@@ -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" '