From ba7c28edd2897d45c18ce10d9ce4f52e82f214e0 Mon Sep 17 00:00:00 2001 From: "Antonio J. Delgado" Date: Mon, 27 Mar 2023 12:36:57 +0300 Subject: [PATCH] add new line --- templates/vhost.conf.j2 | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/templates/vhost.conf.j2 b/templates/vhost.conf.j2 index 0edb502..0722c0c 100644 --- a/templates/vhost.conf.j2 +++ b/templates/vhost.conf.j2 @@ -55,6 +55,7 @@ AllowOverride All +## End of root directory {% endif %} {% if item.directories is defined %}{% for directory in item.directories %} @@ -62,11 +63,13 @@ {% if directory.options is defined %} Options {% for option in directory.options %}{{ option }} {% endfor %} {% endif %} + AllowOverride {{ directory.allow_override | default("All") }} Require {{ directory.require | default("all granted") }} {{ directory.custom_code | default("") }} {% endfor %}{% endif %} +## End of directories {% if item.directoriesmatches is defined %}{% for directorymatch in item.directoriesmatches %} @@ -79,6 +82,7 @@ {{ directorymatch.custom_code | default("") }} {% endfor %}{% endif %} +## End of directorymatches ## Logging ErrorLog "/var/log/apache2/{{ item.vhostname }}_error_ssl.log"