From f517f06c86329448e7af9ce096a79358ac145a01 Mon Sep 17 00:00:00 2001 From: Valentin Lab Date: Fri, 25 Jan 2019 15:26:44 +0100 Subject: [PATCH] fix: [apache] ensure the config file directory is empty at init time. --- apache/hooks/init | 1 + 1 file changed, 1 insertion(+) diff --git a/apache/hooks/init b/apache/hooks/init index 596fc15..a490518 100755 --- a/apache/hooks/init +++ b/apache/hooks/init @@ -25,6 +25,7 @@ RewriteRule ^(.*)$ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301] EOF +rm -fv "$SERVICE_CONFIGSTORE/etc/apache2/sites-enabled/"*".conf" cat <