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
406 B

{% if synadm_web_alias is defined and synadm_web_alias != False %}
Alias /{{ synadm_web_alias }} {{ synadm_root_dir }}/web
{% else %}
# No alias defined, create a vhost to access it
{% endif %}
<Directory {{ synadm_root_dir }}/web>
AllowOverride None
Options None
{% if synadm_src_ip is defined %}
Require ip {{ synadm_src_ip | join(' ') }}
{% else %}
Require all granted
{% endif %}
</Directory>