redirect sdk docs to sdk.skynetlabs.com

This commit is contained in:
Karol Wypchlo 2022-03-03 16:27:19 +01:00
parent db0fcab94a
commit 3b47411f31
No known key found for this signature in database
GPG Key ID: B515DE9EEBE241E1
1 changed files with 1 additions and 4 deletions

View File

@ -21,6 +21,7 @@ client_max_body_size 128k;
rewrite ^/portals /skynet/portals permanent;
rewrite ^/stats /skynet/stats permanent;
rewrite ^/skynet/blacklist /skynet/blocklist permanent;
rewrite ^/docs https://sdk.skynetlabs.com permanent;
location / {
include /etc/nginx/conf.d/include/cors;
@ -39,10 +40,6 @@ location @fallback {
proxy_pass http://website:9000;
}
location /docs {
proxy_pass https://skynetlabs.github.io/skynet-docs;
}
location /skynet/blocklist {
include /etc/nginx/conf.d/include/cors;