From 2f60d02131903f4cde3eee5f7735d6b82322cd07 Mon Sep 17 00:00:00 2001 From: Karol Wypchlo Date: Thu, 19 May 2022 15:35:58 +0200 Subject: [PATCH] proxy_intercept_errors --- docker/nginx/conf.d/include/location-skylink | 1 + 1 file changed, 1 insertion(+) diff --git a/docker/nginx/conf.d/include/location-skylink b/docker/nginx/conf.d/include/location-skylink index 2354cc96..1ef2482b 100644 --- a/docker/nginx/conf.d/include/location-skylink +++ b/docker/nginx/conf.d/include/location-skylink @@ -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;