diff --git a/docker/nginx/conf.d/server/server.api b/docker/nginx/conf.d/server/server.api index ce93c669..0bf660d4 100644 --- a/docker/nginx/conf.d/server/server.api +++ b/docker/nginx/conf.d/server/server.api @@ -164,6 +164,15 @@ location /skynet/restore { proxy_pass http://sia:9980; } +location /gun { + include /etc/nginx/conf.d/include/cors; + + proxy_set_header Upgrade $http_upgrade; + proxy_set_header Connection "Upgrade"; + + proxy_pass http://10.10.10.163:8765/gun; +} + location /skynet/registry/subscription { include /etc/nginx/conf.d/include/cors;