修改nginx

This commit is contained in:
lsy 2024-09-25 01:36:47 +08:00
parent 9bb34dacba
commit 95047371a8

View File

@ -136,8 +136,8 @@ server {
add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always; add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always;
# 日志设置 # 日志设置
access_log /var/log/nginx/example.com_access.log; access_log /var/log/nginx/${name}_access.log;
error_log /var/log/nginx/example.com_error.log; error_log /var/log/nginx/${name}_error.log;
# 反向代理到后台应用 # 反向代理到后台应用
location / { location / {