mirror of
https://github.com/YunoHost-Apps/pleroma_ynh.git
synced 2024-09-03 20:15:59 +02:00
Fix nginx[14214]: nginx: [emerg] directive "proxy_cache" is not terminated by ";" in /etc/nginx/conf.d/sub.domain.tld.d/pleroma.conf:47
This commit is contained in:
parent
f8debd40ee
commit
6da0b969c7
2 changed files with 2 additions and 3 deletions
|
@ -1,2 +1 @@
|
|||
proxy_cache_path /tmp/pleroma-media-cache levels=1:2 keys_zone=pleroma_media_cache:10m max_size=__SIZE__
|
||||
inactive=720m use_temp_path=off;
|
||||
proxy_cache_path /tmp/__APP__-media-cache levels=1:2 keys_zone=__APP___media_cache:10m max_size=__SIZE__ inactive=720m use_temp_path=off;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
rewrite ^/proxy/(.*)/(.*)/.* /proxy/$1/$2 last;
|
||||
|
||||
location ~ ^/(media|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;
|
||||
|
|
Loading…
Add table
Reference in a new issue