blob: 9e9b23355082d71e48f46a1c79221a47074b28ac [file] [log] [blame]
{%- if site.locations is defined %}
{%- for location in site.locations %}
{%- if location.script is defined and location.script %}
ScriptAlias {{ location.uri }} {{ location.path }}
{%- else %}
Alias {{ location.uri }} {{ location.path }}
{%- endif %}
{%- if location.auth is defined %}
{%- set auth = location.auth %}
<Location {{ location.uri }}>
{%- include "apache/files/_auth.conf" %}
</Location>
{%- endif %}
{%- endfor %}
{%- endif %}