fix for pleroma template

This commit is contained in:
muppeth 2024-04-28 17:53:38 +02:00
parent 387d1d0ae4
commit c4c8de84d2
Signed by: muppeth
GPG Key ID: 0EBC7B9848D04031
1 changed files with 2 additions and 0 deletions

View File

@ -2,7 +2,9 @@
{% block extra_upstreams %}
{% if item.mainsite is defined and item.mainsite == 'true' %}
proxy_cache_path /tmp/pleroma-media-cache levels=1:2 keys_zone=pleroma_media_cache:10m max_size=10g inactive=720m use_temp_path=off;
{% endif %}
upstream phoenix {
server {{ item.upstream_name }}:4000 max_fails=5 fail_timeout=60s;