enable media cache even better
Signed-off-by: Xe <me@christine.website>
This commit is contained in:
parent
79b5706c7b
commit
b8dd353fc9
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue