From 05f7ba0d2af0c809ee3530f5cff57520cc5100fd Mon Sep 17 00:00:00 2001 From: Tobias Mueller Date: Tue, 7 Feb 2017 15:01:29 +0100 Subject: [PATCH] Do not redirect 000-default host The problem is that the currently generated default Redirect line takes the "name" as redirection target. The name, in this default case, is "000-default", so Apache would redirect to https://000-default/ which is nonsensical. By setting redirect_to_https to False the redirection won't be established. --- defaults/main.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/defaults/main.yml b/defaults/main.yml index 2dfccc9..93edad3 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -652,6 +652,7 @@ apache__vhosts: [] apache__default_vhost: name: '000-default' root: '/var/www/html' + redirect_to_https: False # ]]] # .. envvar:: apache__group_vhosts [[[