prepare for mastodon
Some checks reported errors
continuous-integration/drone/push Build was killed

This commit is contained in:
2022-11-23 15:17:59 +01:00
parent 21f0843995
commit 85e0b9f978
8 changed files with 55 additions and 6 deletions

View File

@ -88,6 +88,17 @@ http {
allow 192.168.69.0/24;
deny all;
}
{%- if server.additionallocations is defined %}
{%- for location in server.additionallocations %}
location {{location.location}}{
{% if location.https %}
proxy_pass https://127.0.0.1:{{ location.port }};
{% else %}
proxy_pass http://127.0.0.1:{{ location.port }};
{% endif %}
}
{%- endfor %}
{%- endif %}
}
{% endfor %}