diff --git a/nginxbazhong/vhosts/dsp.conf b/nginxbazhong/vhosts/dsp.conf index 40b0dc1..1aced30 100644 --- a/nginxbazhong/vhosts/dsp.conf +++ b/nginxbazhong/vhosts/dsp.conf @@ -31,7 +31,7 @@ location /api { - proxy_pass http://HOSTNAME:7011; + proxy_pass http://HOSTNAMEIP:7021; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; diff --git a/nginxbazhong/vhosts/hhz.conf b/nginxbazhong/vhosts/hhz.conf index ed21f59..67474e2 100644 --- a/nginxbazhong/vhosts/hhz.conf +++ b/nginxbazhong/vhosts/hhz.conf @@ -46,7 +46,7 @@ } location /hhz { - proxy_pass http://HOSTNAMEIP:7011/hhz; + proxy_pass http://HOSTNAMEIP:7021/hhz; proxy_set_header Host $host; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; diff --git a/start/gateway/startGateway.sh b/start/gateway/startGateway.sh index e4fa979..5ea368e 100755 --- a/start/gateway/startGateway.sh +++ b/start/gateway/startGateway.sh @@ -37,7 +37,7 @@ echo "正在启动 ${GATEWAY_NAME} 容器..." docker run --pull always -d \ --name ${GATEWAY_NAME} \ --network ${NETWORK} \ - -p 7011:7011 \ + -p 7021:7011 \ --add-host ${OIDC_SERVER_DOMAIN}:host-gateway \ --env TZ=Asia/Shanghai \ --env SPRING_CONFIG_LOCATION=file:/data/java/tuoheng/application.yml \