1
0
mirror of https://git.lapiole.org/dani/ansible-roles.git synced 2025-04-29 16:43:21 +02:00
2021-12-01 19:13:34 +01:00

15 lines
371 B
Django/Jinja

{% if riot_web_alias is defined %}
Alias /{{ riot_web_alias }} {{ riot_root_dir }}/web
{% else %}
# No alias defined, create a vhost to access it
{% endif %}
<Directory {{ riot_root_dir }}/web>
AllowOverride None
Options None
{% if riot_allowed_ip is defined %}
Require ip {{ riot_allowed_ip | join(' ') }}
{% else %}
Require all granted
{% endif %}
</Directory>