Add gun to nginx

This commit is contained in:
Fluffy9 2022-03-17 10:27:05 -04:00
parent 7e5edeea03
commit 5f567ec174
No known key found for this signature in database
GPG Key ID: 2A281B25503D3492
1 changed files with 9 additions and 0 deletions

View File

@ -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;