wtf was that buffering thing
This commit is contained in:
parent
152e33975d
commit
85c5fc28bd
1 changed files with 1 additions and 4 deletions
|
@ -18,16 +18,13 @@
|
||||||
extraConfig = ''
|
extraConfig = ''
|
||||||
location ~ ^/(media|proxy) {
|
location ~ ^/(media|proxy) {
|
||||||
proxy_cache akkoma_media_cache;
|
proxy_cache akkoma_media_cache;
|
||||||
slice 1m;
|
proxy_cache_key $host$uri$is_args$args;
|
||||||
proxy_cache_key $host$uri$is_args$args$slice_range;
|
|
||||||
proxy_set_header Range $slice_range;
|
|
||||||
proxy_http_version 1.1;
|
proxy_http_version 1.1;
|
||||||
proxy_cache_valid 206 301 302 304 1h;
|
proxy_cache_valid 206 301 302 304 1h;
|
||||||
proxy_cache_valid 200 1y;
|
proxy_cache_valid 200 1y;
|
||||||
proxy_cache_use_stale error timeout invalid_header updating;
|
proxy_cache_use_stale error timeout invalid_header updating;
|
||||||
proxy_ignore_client_abort on;
|
proxy_ignore_client_abort on;
|
||||||
proxy_buffering on;
|
proxy_buffering on;
|
||||||
chunked_transfer_encoding on;
|
|
||||||
proxy_ignore_headers Cache-Control Expires;
|
proxy_ignore_headers Cache-Control Expires;
|
||||||
proxy_hide_header Cache-Control Expires;
|
proxy_hide_header Cache-Control Expires;
|
||||||
proxy_pass http://127.0.0.1:4000;
|
proxy_pass http://127.0.0.1:4000;
|
||||||
|
|
Loading…
Reference in a new issue