{% 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>
