summaryrefslogtreecommitdiff
path: root/roles/apache_server/templates/virtualhost.conf.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'roles/apache_server/templates/virtualhost.conf.tmpl')
-rw-r--r--roles/apache_server/templates/virtualhost.conf.tmpl1
1 files changed, 1 insertions, 0 deletions
diff --git a/roles/apache_server/templates/virtualhost.conf.tmpl b/roles/apache_server/templates/virtualhost.conf.tmpl
index fd6bb51..c3d3b97 100644
--- a/roles/apache_server/templates/virtualhost.conf.tmpl
+++ b/roles/apache_server/templates/virtualhost.conf.tmpl
@@ -10,6 +10,7 @@
<Directory /srv/http/{{ item.domain }}>
{% if item.letsencrypt|default(false) %}
Redirect permanent / "https://{{ item.domain }}/"
+ Require all granted
{% else %}
Options +SymlinksIfOwnerMatch +Indexes +MultiViews
{% if item.htpasswd is defined %}