Add gun to nginx
This commit is contained in:
parent
7e5edeea03
commit
5f567ec174
|
@ -164,6 +164,15 @@ location /skynet/restore {
|
||||||
proxy_pass http://sia:9980;
|
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 {
|
location /skynet/registry/subscription {
|
||||||
include /etc/nginx/conf.d/include/cors;
|
include /etc/nginx/conf.d/include/cors;
|
||||||
|
|
||||||
|
|
Reference in New Issue