From d99cacebdc4ab88c0efa1b06d81019649dd7d11a Mon Sep 17 00:00:00 2001 From: Ivaylo Novakov Date: Mon, 14 Mar 2022 17:37:33 +0100 Subject: [PATCH] step --- docker/nginx/conf.d/include/location-skylink | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docker/nginx/conf.d/include/location-skylink b/docker/nginx/conf.d/include/location-skylink index bd3b6c2e..387ea1fd 100644 --- a/docker/nginx/conf.d/include/location-skylink +++ b/docker/nginx/conf.d/include/location-skylink @@ -1,7 +1,7 @@ include /etc/nginx/conf.d/include/cors; ###include /etc/nginx/conf.d/include/proxy-buffer; include /etc/nginx/conf.d/include/proxy-cache-downloads; -###include /etc/nginx/conf.d/include/track-download; +include /etc/nginx/conf.d/include/track-download; ###limit_conn downloads_by_ip 100; # ddos protection: max 100 downloads at a time @@ -109,7 +109,7 @@ set $skylink_v2 $skylink; ###limit_rate_after 512k; ###limit_rate $limit_rate; -###proxy_read_timeout 600; +proxy_read_timeout 600; proxy_set_header User-Agent: Sia-Agent; # in case the requested skylink was v2 and we already resolved it to skylink v1, we are going to pass resolved