add new line

This commit is contained in:
Antonio J. Delgado 2023-03-27 12:36:57 +03:00
parent 50797e7693
commit ba7c28edd2

View file

@ -55,6 +55,7 @@
AllowOverride All AllowOverride All
</Directory> </Directory>
## End of root directory
{% endif %} {% endif %}
{% if item.directories is defined %}{% for directory in item.directories %} {% if item.directories is defined %}{% for directory in item.directories %}
@ -62,11 +63,13 @@
{% if directory.options is defined %} {% if directory.options is defined %}
Options {% for option in directory.options %}{{ option }} {% endfor %} Options {% for option in directory.options %}{{ option }} {% endfor %}
{% endif %} {% endif %}
AllowOverride {{ directory.allow_override | default("All") }} AllowOverride {{ directory.allow_override | default("All") }}
Require {{ directory.require | default("all granted") }} Require {{ directory.require | default("all granted") }}
{{ directory.custom_code | default("") }} {{ directory.custom_code | default("") }}
</Directory> </Directory>
{% endfor %}{% endif %} {% endfor %}{% endif %}
## End of directories
{% if item.directoriesmatches is defined %}{% for directorymatch in item.directoriesmatches %} {% if item.directoriesmatches is defined %}{% for directorymatch in item.directoriesmatches %}
<DirectoryMatch "{{ directorymatch.path }}"> <DirectoryMatch "{{ directorymatch.path }}">
@ -79,6 +82,7 @@
{{ directorymatch.custom_code | default("") }} {{ directorymatch.custom_code | default("") }}
</DirectoryMatch> </DirectoryMatch>
{% endfor %}{% endif %} {% endfor %}{% endif %}
## End of directorymatches
## Logging ## Logging
ErrorLog "/var/log/apache2/{{ item.vhostname }}_error_ssl.log" ErrorLog "/var/log/apache2/{{ item.vhostname }}_error_ssl.log"