|
|
|
@ -71,10 +71,16 @@ http {
|
|
|
|
|
|
|
|
|
|
location ^~ /UserCenter/ {
|
|
|
|
|
proxy_pass http://localhost:8010/UserCenter/;
|
|
|
|
|
proxy_set_header Host $host:$server_port;
|
|
|
|
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
|
|
|
proxy_set_header X-Forwarded-Proto $scheme;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
location ^~ /IoTCenter/ {
|
|
|
|
|
proxy_pass http://localhost:8011/IoTCenter/;
|
|
|
|
|
proxy_set_header Host $host:$server_port;
|
|
|
|
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
|
|
|
proxy_set_header X-Forwarded-Proto $scheme;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
location ^~ /IoTCenter/hub {
|
|
|
|
@ -86,6 +92,9 @@ http {
|
|
|
|
|
|
|
|
|
|
location ^~ /JobServer/ {
|
|
|
|
|
proxy_pass http://localhost:8013/JobServer/;
|
|
|
|
|
proxy_set_header Host $host:$server_port;
|
|
|
|
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
|
|
|
proxy_set_header X-Forwarded-Proto $scheme;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
error_page 500 502 503 504 /50x.html;
|
|
|
|
|