1
0
Fork 0
forked from mirrors/akkoma

Merge branch 'fix/nginx-safari' into 'develop'

Update proxy config to improve behavior and allow compatibility with Safari on MacOS and iOS

See merge request pleroma/pleroma!538
This commit is contained in:
lambda 2018-12-12 20:38:03 +00:00
commit 9208868821

View file

@ -72,6 +72,11 @@ server {
location ~ ^/(media|proxy) {
proxy_cache pleroma_media_cache;
slice 1m;
proxy_cache_key $host$uri$is_args$args$slice_range;
proxy_set_header Range $slice_range;
proxy_http_version 1.1;
proxy_cache_valid 200 206 301 304 1h;
proxy_cache_lock on;
proxy_ignore_client_abort on;
proxy_buffering off;