From 1f3c208f95ad99b28e8fbfd1f3028ebdecc43a61 Mon Sep 17 00:00:00 2001 From: "Michael Kaufmann (d00p)" Date: Tue, 8 Mar 2016 12:44:31 +0100 Subject: [PATCH] show acme.conf only if LE is enabled Signed-off-by: Michael Kaufmann (d00p) --- lib/configfiles/gentoo.xml | 6 ++++++ lib/configfiles/jessie.xml | 4 ++++ lib/configfiles/precise.xml | 4 ++++ lib/configfiles/rhel_centos.xml | 2 ++ lib/configfiles/trusty.xml | 6 ++++++ lib/configfiles/wheezy.xml | 6 ++++++ 6 files changed, 28 insertions(+) diff --git a/lib/configfiles/gentoo.xml b/lib/configfiles/gentoo.xml index d5ca5b0d..1c945572 100644 --- a/lib/configfiles/gentoo.xml +++ b/lib/configfiles/gentoo.xml @@ -65,6 +65,8 @@ + {{settings.system.leenabled}} + @@ -95,6 +97,8 @@ Alias "/.well-known/acme-challenge" "{{settings.system.letsencryptchallengepath} + {{settings.system.leenabled}} + @@ -264,6 +268,8 @@ fastcgi_param REDIRECT_STATUS 200; + {{settings.system.leenabled}} + + {{settings.system.leenabled}} + @@ -286,6 +288,8 @@ fastcgi_param REDIRECT_STATUS 200; + {{settings.system.leenabled}} + + {{settings.system.leenabled}} + @@ -245,6 +247,8 @@ fastcgi_param REDIRECT_STATUS 200; + {{settings.system.leenabled}} + //service[@type='http']/general/commands + {{settings.system.leenabled}} + diff --git a/lib/configfiles/trusty.xml b/lib/configfiles/trusty.xml index 2b34b631..c606c0bf 100644 --- a/lib/configfiles/trusty.xml +++ b/lib/configfiles/trusty.xml @@ -67,6 +67,8 @@ + {{settings.system.leenabled}} + @@ -97,6 +99,8 @@ Alias "/.well-known/acme-challenge" "{{settings.system.letsencryptchallengepath} + {{settings.system.leenabled}} + @@ -274,6 +278,8 @@ fastcgi_param REDIRECT_STATUS 200; + {{settings.system.leenabled}} + + {{settings.system.leenabled}} + @@ -97,6 +99,8 @@ Alias "/.well-known/acme-challenge" "{{settings.system.letsencryptchallengepath} + {{settings.system.leenabled}} + @@ -314,6 +318,8 @@ fastcgi_param REDIRECT_STATUS 200; + {{settings.system.leenabled}} +