From 85c5fc28bd0ad7089b34030f2cb4a0268b1cf31c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Charlotte=20=F0=9F=A6=9D=20Delenk?= Date: Sat, 5 Nov 2022 22:09:17 +0100 Subject: [PATCH] wtf was that buffering thing --- config/services/akkoma/mediaproxy.nix | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/config/services/akkoma/mediaproxy.nix b/config/services/akkoma/mediaproxy.nix index 6d82741a..5d6c7d46 100644 --- a/config/services/akkoma/mediaproxy.nix +++ b/config/services/akkoma/mediaproxy.nix @@ -18,16 +18,13 @@ extraConfig = '' location ~ ^/(media|proxy) { proxy_cache akkoma_media_cache; - 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; proxy_http_version 1.1; proxy_cache_valid 206 301 302 304 1h; proxy_cache_valid 200 1y; proxy_cache_use_stale error timeout invalid_header updating; proxy_ignore_client_abort on; proxy_buffering on; - chunked_transfer_encoding on; proxy_ignore_headers Cache-Control Expires; proxy_hide_header Cache-Control Expires; proxy_pass http://127.0.0.1:4000;