From 95047371a8b8d4956b4472ce3c2be3d71ffdbbaa Mon Sep 17 00:00:00 2001 From: lsy Date: Wed, 25 Sep 2024 01:36:47 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9nginx?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Config/Web/nginx.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Config/Web/nginx.sh b/Config/Web/nginx.sh index f110e30..1f5c496 100644 --- a/Config/Web/nginx.sh +++ b/Config/Web/nginx.sh @@ -136,8 +136,8 @@ server { add_header Strict-Transport-Security "max-age=31536000; includeSubDomains" always; # 日志设置 - access_log /var/log/nginx/example.com_access.log; - error_log /var/log/nginx/example.com_error.log; + access_log /var/log/nginx/${name}_access.log; + error_log /var/log/nginx/${name}_error.log; # 反向代理到后台应用 location / {