1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/pleroma_ynh.git synced 2024-09-03 20:15:59 +02:00

Add new media proxy parameters

This commit is contained in:
yalh76 2019-03-16 15:42:50 +01:00
parent 900ddc0ed3
commit 3498ec122d

View file

@ -1,6 +1,13 @@
location /proxy { location /proxy {
proxy_cache {APP}_media_cache; proxy_cache {APP}_media_cache;
proxy_cache_key $host$uri$is_args$args;
proxy_http_version 1.1;
proxy_cache_valid 200 206 301 304 1h;
proxy_cache_lock on; proxy_cache_lock on;
proxy_ignore_client_abort on; proxy_ignore_client_abort on;
proxy_buffering on;
chunked_transfer_encoding on;
proxy_ignore_headers Cache-Control;
proxy_hide_header Cache-Control;
proxy_pass http://localhost:__PORT__; proxy_pass http://localhost:__PORT__;
} }