提交 6165960f 编写于 作者: ibizdev's avatar ibizdev

chitanda 发布系统代码 [TrainSys,网页端]

上级 794cf1de
appId:APP_ID
mockDcSystemId:MOCK_DC_SYSTEM_ID mockDcSystemId:MOCK_DC_SYSTEM_ID
remoteDynaPath:REMOTE_DYNA_PATH remoteDynaPath:REMOTE_DYNA_PATH
BaseUrl:BASE_URL BaseUrl:BASEURL
pluginBaseUrl:PLUGIN_BASE_URL pluginBaseUrl:PLUGIN_BASE_URL
AppTitle:APP_TITLE AppTitle:APP_TITLE
loginMode:LOGIN_MODE loginMode:LOGIN_MODE
......
...@@ -7,12 +7,12 @@ ...@@ -7,12 +7,12 @@
index index.html index.htm; index index.html index.htm;
} }
location /api/ { location /sztrainsys__web {
proxy_pass http://gateway.ibizcloud.cn:20086/; proxy_pass http://gateway.ibizcloud.cn:20086;
proxy_set_header Host $host; proxy_set_header Host $host;
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-Forwarded-Host $host; proxy_set_header X-Forwarded-Host $host;
proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Real-IP $remote_addr;
} }
error_page 500 502 503 504 /50x.html; error_page 500 502 503 504 /50x.html;
......
...@@ -7,7 +7,9 @@ services: ...@@ -7,7 +7,9 @@ services:
networks: networks:
- agent_network - agent_network
environment: environment:
- APP_ID=sztrainsys__web - BASEURL=sztrainsys__web
- APPCODE=web
- APICODE=sztrainsys__web
deploy: deploy:
resources: resources:
limits: limits:
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册