Ansible roles
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
389 B

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