|
|
|
@ -68,23 +68,26 @@ http {
|
|
|
|
|
proxy_pass http://172.172.0.60:8080/;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
location ^~ /UserCenter/ {
|
|
|
|
|
proxy_pass http://172.172.0.70/UserCenter/;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
location ^~ /IoTCenter/ {
|
|
|
|
|
proxy_pass http://172.172.0.80/IoTCenter/;
|
|
|
|
|
proxy_pass http://172.172.0.80/Platform/;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
location ^~ /IoTCenter/hub {
|
|
|
|
|
proxy_pass http://172.172.0.80/IoTCenter/hub;
|
|
|
|
|
proxy_pass http://172.172.0.80/Platform/hub;
|
|
|
|
|
proxy_http_version 1.1;
|
|
|
|
|
proxy_set_header Upgrade $http_upgrade;
|
|
|
|
|
proxy_set_header Connection "upgrade";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
location ^~ /JobServer/ {
|
|
|
|
|
proxy_pass http://172.172.0.90/JobServer/;
|
|
|
|
|
location ^~ /platform/ {
|
|
|
|
|
proxy_pass http://172.172.0.80/Platform/;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
location ^~ /platform/hub {
|
|
|
|
|
proxy_pass http://172.172.0.80/Platform/hub;
|
|
|
|
|
proxy_http_version 1.1;
|
|
|
|
|
proxy_set_header Upgrade $http_upgrade;
|
|
|
|
|
proxy_set_header Connection "upgrade";
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
error_page 500 502 503 504 /50x.html;
|
|
|
|
|