aboutsummaryrefslogtreecommitdiffstats
path: root/modules/apache/templates/vhost_base.conf
diff options
context:
space:
mode:
Diffstat (limited to 'modules/apache/templates/vhost_base.conf')
-rw-r--r--modules/apache/templates/vhost_base.conf2
1 files changed, 2 insertions, 0 deletions
diff --git a/modules/apache/templates/vhost_base.conf b/modules/apache/templates/vhost_base.conf
index c6feade5..84c8f918 100644
--- a/modules/apache/templates/vhost_base.conf
+++ b/modules/apache/templates/vhost_base.conf
@@ -39,6 +39,7 @@ end
</Directory>
<%- end -%>
+<%- if enable_location -%>
<Location />
<IfModule mod_authz_core.c>
Require all granted
@@ -47,5 +48,6 @@ end
Allow from all
</IfModule>
</Location>
+<%- end -%>
</VirtualHost>