mirror of
https://git.lapiole.org/dani/ansible-roles.git
synced 2025-07-27 08:15:54 +02:00
Update to 2021-12-01 19:13
This commit is contained in:
14
roles/matrix_element/templates/httpd.conf.j2
Normal file
14
roles/matrix_element/templates/httpd.conf.j2
Normal file
@@ -0,0 +1,14 @@
|
||||
{% 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>
|
Reference in New Issue
Block a user