From c8c39206b7d9ee2f9cc25abcd41b68b5c435ff79 Mon Sep 17 00:00:00 2001 From: liuchen <23082234@qq.com> Date: Mon, 5 Feb 2024 09:41:58 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9nginx=E9=85=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nginx.conf | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/nginx.conf b/nginx.conf index 903bcf965..97a27585c 100644 --- a/nginx.conf +++ b/nginx.conf @@ -1,12 +1,6 @@ #user root; worker_processes 2; -#error_log logs/error.log; -#error_log logs/error.log notice; -#error_log logs/error.log info; - -#pid logs/nginx.pid; - events { worker_connections 1024; } @@ -38,9 +32,7 @@ http { server { listen 25100; server_name_in_redirect off; - server_name dev.ccwin-in.com; - access_log /opt/sfms3.0/access.log main; - error_log /opt/sfms3.0/error.log; + server_name dev.ccwin-in.com localhost; location /api/ { proxy_pass http://sfms3.0/; proxy_next_upstream http_500 http_502 http_503 http_504 error timeout invalid_header;