From 85717b4d12481aa6ad7d2b2cdfbc2ec265c1999f Mon Sep 17 00:00:00 2001 From: liuchen <23082234@qq.com> Date: Sun, 4 Feb 2024 15:55:52 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E6=97=A5=E5=BF=97=E8=B7=AF?= =?UTF-8?q?=E5=BE=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nginx.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nginx.conf b/nginx.conf index 1dea2d7e2..bf59d15af 100644 --- a/nginx.conf +++ b/nginx.conf @@ -39,9 +39,9 @@ http { listen 25100; server_name_in_redirect off; server_name dev.ccwin-in.com; - access_log logs/sfms3.0.log main; + access_log /var/log/nginx/access main; + error_log /var/log/nginx/error.log; location /api/ { - access_log logs/sfms3.0.log main; proxy_pass http://sfms3.0/; proxy_next_upstream http_500 http_502 http_503 http_504 error timeout invalid_header; proxy_set_header X-Forwared-For $proxy_add_x_forwarded_for;