From ff1621f3cec18e98baa9dd3572f918f4692a83ab Mon Sep 17 00:00:00 2001 From: liuchen864 <23082234@qq.com> Date: Fri, 10 May 2024 17:31:43 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=AB=AF=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- nginx.conf | 4 ++-- nginx_prod.conf | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/nginx.conf b/nginx.conf index d5aa0a2..1b3fb61 100644 --- a/nginx.conf +++ b/nginx.conf @@ -32,7 +32,7 @@ http { server { listen 25200; server_name_in_redirect off; - server_name dev.ccwin-in.com; + server_name _; location /api/ { proxy_pass http://eam/; proxy_next_upstream http_500 http_502 http_503 http_504 error timeout invalid_header; @@ -57,4 +57,4 @@ http { index index.html index.htm; } } -} \ No newline at end of file +} diff --git a/nginx_prod.conf b/nginx_prod.conf index 8cb1610..c358f63 100644 --- a/nginx_prod.conf +++ b/nginx_prod.conf @@ -32,7 +32,7 @@ http { server { listen 80; server_name_in_redirect off; - server_name dev.ccwin-in.com; + server_name _; location /api/ { proxy_pass http://eam/; proxy_next_upstream http_500 http_502 http_503 http_504 error timeout invalid_header;