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;