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:
parent
900ddc0ed3
commit
3498ec122d
1 changed files with 7 additions and 0 deletions
|
@ -1,6 +1,13 @@
|
|||
location /proxy {
|
||||
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_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__;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue