proxy_intercept_errors

This commit is contained in:
Karol Wypchlo 2022-05-19 15:35:58 +02:00
parent 9d8b34af43
commit 2f60d02131
No known key found for this signature in database
GPG Key ID: B515DE9EEBE241E1
1 changed files with 1 additions and 0 deletions

View File

@ -36,6 +36,7 @@ proxy_read_timeout 600;
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/errors/400/index.html;
error_page 401 /etc/nginx/public/errors/401/index.html;