enable media cache even better

Signed-off-by: Xe <me@christine.website>
This commit is contained in:
Cadey Ratio 2022-11-04 20:43:14 -04:00
parent 79b5706c7b
commit b8dd353fc9
1 changed files with 1 additions and 3 deletions

View File

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