Commit 1ae7f8c4 authored by Kunkka王辉's avatar Kunkka王辉 😲

验证访问

parent b833db1b
...@@ -71,6 +71,8 @@ return [ ...@@ -71,6 +71,8 @@ return [
| Notice-FRONT | Notice-Center前端-智能预警/代办 | http://gitlab.galaxy-immi.com/Front-end-group/Manage-Frame/Early-Warning.git | smartwhale/subapp/early_warning | 正常 | vue | $VUE_NOTICE_CENTER_HTTP_PORT | | | Notice-FRONT | Notice-Center前端-智能预警/代办 | http://gitlab.galaxy-immi.com/Front-end-group/Manage-Frame/Early-Warning.git | smartwhale/subapp/early_warning | 正常 | vue | $VUE_NOTICE_CENTER_HTTP_PORT | |
| domain-module | 领域服务 | http://gitlab.galaxy-immi.com/colnet/domain-module.git | domain-module | 待定 | php | - | php8 | | domain-module | 领域服务 | http://gitlab.galaxy-immi.com/colnet/domain-module.git | domain-module | 待定 | php | - | php8 |
todo : test-doc.galaxy-immi.com 智能写作
### php7.4扩展 ### php7.4扩展
| 名称 | | 名称 |
......
...@@ -209,6 +209,7 @@ server { ...@@ -209,6 +209,7 @@ server {
location ^~ /smarterApi/ { location ^~ /smarterApi/ {
#test.smartwhale.galaxy-immi.com 最终还是转发到galaxy_crm #test.smartwhale.galaxy-immi.com 最终还是转发到galaxy_crm
rewrite ^/smarterApi/(.*)$ /api/\$1 last;
proxy_pass http://$HOST:$GALAXY_CRM_API_HTTP_PORT; proxy_pass http://$HOST:$GALAXY_CRM_API_HTTP_PORT;
proxy_set_header X-Forwarded-For \$proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-For \$proxy_add_x_forwarded_for;
proxy_set_header X-Real-Ip \$remote_addr; proxy_set_header X-Real-Ip \$remote_addr;
...@@ -225,8 +226,9 @@ server { ...@@ -225,8 +226,9 @@ server {
location ^~ /earlyWarning/ { location ^~ /earlyWarning/ {
#优化,一次转发即可 #优化,一次转发即可
proxy_pass http://$HOST:$VUE_NOTICE_CENTER_HTTP_PORT/api/; # proxy_pass http://$HOST:$VUE_NOTICE_CENTER_HTTP_PORT/api/;
# proxy_pass http://$HOST:$NOTICE_CENTER_HTTP_PORT/api; #是否可以直接到后端服务 rewrite ^/earlyWarning/(.*)$ /api/\$1 last;
proxy_pass http://$HOST:$NOTICE_CENTER_HTTP_PORT; #是否可以直接到后端服务
proxy_set_header X-Forwarded-For \$proxy_add_x_forwarded_for; proxy_set_header X-Forwarded-For \$proxy_add_x_forwarded_for;
proxy_set_header X-Real-Ip \$remote_addr; proxy_set_header X-Real-Ip \$remote_addr;
proxy_set_header X-Ngnix-Proxy true; proxy_set_header X-Ngnix-Proxy true;
...@@ -565,7 +567,7 @@ SERVICE_BizPlatform=$JAVA_BIZ_PLATFORM_URI:80 ...@@ -565,7 +567,7 @@ SERVICE_BizPlatform=$JAVA_BIZ_PLATFORM_URI:80
SERVICE_CrmClient=$JAVA_CLIENT_URI:80 SERVICE_CrmClient=$JAVA_CLIENT_URI:80
SERVICE_COMMON_SERVER=$HOST:$GALAXY_COMMON_SERVER_API_HTTP_PORT SERVICE_COMMON_SERVER=$HOST:$GALAXY_COMMON_SERVER_API_HTTP_PORT
SERVICE_WORKFLOW_SERVER=$HOST:$GALAXY_WORKFLOW_API_HTTP_PORT SERVICE_WORKFLOW_SERVER=$HOST:$GALAXY_WORKFLOW_API_HTTP_PORT
SERVICE_DATA_CENTER=$HOST:1234 #缺省 SERVICE_DATA_CENTER=https://dw-admin.galaxy-immi.com:443
EOF EOF
# 针对micros-gateway生成指定的ip # 针对micros-gateway生成指定的ip
cat <<EOL >/app/env/.env-gateway cat <<EOL >/app/env/.env-gateway
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment