From 483434bd239302ba018486e6e30f29f40b524413 Mon Sep 17 00:00:00 2001 From: Lars Wirzenius Date: Wed, 30 May 2018 12:23:57 +0300 Subject: Fix: allow access via HTTP when no HTTPS is to be required --- roles/apache_server/templates/virtualhost.conf.tmpl | 1 + 1 file changed, 1 insertion(+) 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 @@ {% if item.letsencrypt|default(false) %} Redirect permanent / "https://{{ item.domain }}/" + Require all granted {% else %} Options +SymlinksIfOwnerMatch +Indexes +MultiViews {% if item.htpasswd is defined %} -- cgit v1.2.1