wtf was that buffering thing

This commit is contained in:
Charlotte 🦝 Delenk 2022-11-05 22:09:17 +01:00
parent 152e33975d
commit 85c5fc28bd
Signed by: darkkirb
GPG key ID: AB2BD8DAF2E37122

View file

@ -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;