Browse Source

修改端口

master
liuchen864 7 months ago
parent
commit
ff1621f3ce
  1. 2
      nginx.conf
  2. 2
      nginx_prod.conf

2
nginx.conf

@ -32,7 +32,7 @@ http {
server { server {
listen 25200; listen 25200;
server_name_in_redirect off; server_name_in_redirect off;
server_name dev.ccwin-in.com; server_name _;
location /api/ { location /api/ {
proxy_pass http://eam/; proxy_pass http://eam/;
proxy_next_upstream http_500 http_502 http_503 http_504 error timeout invalid_header; proxy_next_upstream http_500 http_502 http_503 http_504 error timeout invalid_header;

2
nginx_prod.conf

@ -32,7 +32,7 @@ http {
server { server {
listen 80; listen 80;
server_name_in_redirect off; server_name_in_redirect off;
server_name dev.ccwin-in.com; server_name _;
location /api/ { location /api/ {
proxy_pass http://eam/; proxy_pass http://eam/;
proxy_next_upstream http_500 http_502 http_503 http_504 error timeout invalid_header; proxy_next_upstream http_500 http_502 http_503 http_504 error timeout invalid_header;

Loading…
Cancel
Save