diff options
author | lambda <pleromagit@rogerbraun.net> | 2018-12-12 20:38:03 +0000 |
---|---|---|
committer | lambda <pleromagit@rogerbraun.net> | 2018-12-12 20:38:03 +0000 |
commit | 920886882155db7af64abd4a3ae0296b4dc7374e (patch) | |
tree | a4d14684eff1b8bd434d944c3529a80af8ca29bf | |
parent | 2592b3c81a5af20536c3cc9709e3971d6cfb1e68 (diff) | |
parent | d56772c813c86c4eb4c4ae97782f4d6d57a98abe (diff) | |
download | pleroma-920886882155db7af64abd4a3ae0296b4dc7374e.tar.gz |
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
-rw-r--r-- | installation/pleroma.nginx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/installation/pleroma.nginx b/installation/pleroma.nginx index e1184fe77..46b84fb50 100644 --- a/installation/pleroma.nginx +++ b/installation/pleroma.nginx @@ -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; |