diff options
author | kaniini <nenolod@gmail.com> | 2018-11-30 18:15:44 +0000 |
---|---|---|
committer | kaniini <nenolod@gmail.com> | 2018-11-30 18:15:44 +0000 |
commit | ca24ad2a2babed0700a38effb74910008d58f6ea (patch) | |
tree | 13430c7b870e3dcc7cb32c299cbde6ca8d6ef362 /installation/pleroma.nginx | |
parent | e99bab8f279b419a6b54efa2f5397a78970c10ee (diff) | |
parent | 8e0e20631c378a5008f0f0b4aba9deb994ea6c6c (diff) | |
download | pleroma-ca24ad2a2babed0700a38effb74910008d58f6ea.tar.gz |
Merge branch 'feature/reverse-proxy' into 'develop'
reverse proxy / uploads
See merge request pleroma/pleroma!470
Diffstat (limited to 'installation/pleroma.nginx')
-rw-r--r-- | installation/pleroma.nginx | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/installation/pleroma.nginx b/installation/pleroma.nginx index f0e684f2c..e1184fe77 100644 --- a/installation/pleroma.nginx +++ b/installation/pleroma.nginx @@ -70,10 +70,12 @@ server { client_max_body_size 16m; } - location /proxy { + location ~ ^/(media|proxy) { proxy_cache pleroma_media_cache; proxy_cache_lock on; proxy_ignore_client_abort on; + proxy_buffering off; + chunked_transfer_encoding on; proxy_pass http://localhost:4000; } } |