diff --git a/projects/IoTNode/IoTNode.csproj b/projects/IoTNode/IoTNode.csproj index 1892ba5e..710f7b39 100644 --- a/projects/IoTNode/IoTNode.csproj +++ b/projects/IoTNode/IoTNode.csproj @@ -18,8 +18,8 @@ - - + + diff --git a/publish/src/linux-x64/publish/docker/conf/gateway/nginx.conf b/publish/src/linux-x64/publish/docker/conf/gateway/nginx.conf index 111cc3bb..e668a6e1 100644 --- a/publish/src/linux-x64/publish/docker/conf/gateway/nginx.conf +++ b/publish/src/linux-x64/publish/docker/conf/gateway/nginx.conf @@ -79,6 +79,10 @@ http { proxy_set_header Connection "upgrade"; } + 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;