From b8dd353fc9ac460171455525e68e3a71a8baf48c Mon Sep 17 00:00:00 2001 From: Xe Date: Fri, 4 Nov 2022 20:43:14 -0400 Subject: [PATCH] enable media cache even better Signed-off-by: Xe --- hosts/akko/akkoma.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/hosts/akko/akkoma.nix b/hosts/akko/akkoma.nix index bcff799..cc0fc4e 100644 --- a/hosts/akko/akkoma.nix +++ b/hosts/akko/akkoma.nix @@ -112,9 +112,7 @@ in { proxy_cache akkoma_media_cache; # Cache objects in slices of 1 MiB - slice 1m; - proxy_cache_key $host$uri$is_args$args$slice_range; - proxy_set_header Range $slice_range; + proxy_cache_key $host$uri$is_args$args; # Decouple client and upstream requests proxy_buffering on;