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;