This commit is contained in:
Karol Wypchlo 2022-05-20 13:01:10 +02:00
parent 83521f141f
commit f5d7973eab
No known key found for this signature in database
GPG Key ID: B515DE9EEBE241E1
2 changed files with 7 additions and 7 deletions

View File

@ -38,12 +38,12 @@ proxy_set_header User-Agent: Sia-Agent;
proxy_pass http://sia:9980/skynet/skylink/$skylink$path$is_args$args;
proxy_intercept_errors on;
# error_page 400 /etc/nginx/public/etc/nginx/conf.d/pages/400.html;
error_page 401 /etc/nginx/public/etc/nginx/conf.d/pages/401.html;
# error_page 403 /etc/nginx/public/etc/nginx/conf.d/pages/403.html;
# error_page 404 /etc/nginx/public/etc/nginx/conf.d/pages/404.html;
# error_page 451 /etc/nginx/public/etc/nginx/conf.d/pages/451.html;
# error_page 500 501 502 503 /etc/nginx/public/etc/nginx/conf.d/pages/5xx.html;
# error_page 400 /etc/nginx/conf.d/pages/400.html;
error_page 401 /etc/nginx/conf.d/pages/401.html;
# error_page 403 /etc/nginx/conf.d/pages/403.html;
# error_page 404 /etc/nginx/conf.d/pages/404.html;
# error_page 451 /etc/nginx/conf.d/pages/451.html;
# error_page 500 501 502 503 /etc/nginx/conf.d/pages/5xx.html;
log_by_lua_block {
local skynet_account = require("skynet.account")

View File

@ -24,7 +24,7 @@ rewrite ^/skynet/blacklist /skynet/blocklist permanent;
rewrite ^/docs(?:/(.*))?$ https://sdk.skynetlabs.com/$1 permanent;
# error_page 400 /etc/nginx/public/etc/nginx/conf.d/pages/400.html;
error_page 401 /etc/nginx/public/etc/nginx/conf.d/pages/401.html;
# error_page 401 /etc/nginx/public/etc/nginx/conf.d/pages/401.html;
# error_page 403 /etc/nginx/public/etc/nginx/conf.d/pages/403.html;
# error_page 404 /etc/nginx/public/etc/nginx/conf.d/pages/404.html;
# error_page 451 /etc/nginx/public/etc/nginx/conf.d/pages/451.html;