From ff02482ee61168182866f8d895d0d91ac63a576c Mon Sep 17 00:00:00 2001 From: PJ Date: Wed, 16 Sep 2020 10:48:52 +0200 Subject: [PATCH] Fix newline --- docker/nginx/conf.d/include/proxy-cache-downloads | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/docker/nginx/conf.d/include/proxy-cache-downloads b/docker/nginx/conf.d/include/proxy-cache-downloads index 9f4fc5a6..ae543af1 100644 --- a/docker/nginx/conf.d/include/proxy-cache-downloads +++ b/docker/nginx/conf.d/include/proxy-cache-downloads @@ -2,8 +2,7 @@ proxy_cache skynet; slice 1m; proxy_http_version 1.1; # upgrade if necessary because 1.0 does not support byte-range requests proxy_set_header Range $slice_range; # pass slice range to proxy -proxy_cache_key $subdomain$uri$slice_range; # include both the $subdomain and -$slice_range in the cache key +proxy_cache_key $subdomain$uri$slice_range; # include both the $subdomain and $slice_range in the cache key proxy_cache_min_uses 3; # cache responses after 3 requests of the same file proxy_cache_valid 200 206 24h; # cache 200 and 206 responses for 24 hours proxy_cache_bypass $cookie_nocache $arg_nocache; # add cache bypass option