show acme.conf only if LE is enabled
Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
This commit is contained in:
@@ -65,6 +65,8 @@
|
|||||||
</content>
|
</content>
|
||||||
</file>
|
</file>
|
||||||
<file name="/etc/apache2/modules.d/80_acme.conf">
|
<file name="/etc/apache2/modules.d/80_acme.conf">
|
||||||
|
<visibility mode="true">{{settings.system.leenabled}}
|
||||||
|
</visibility>
|
||||||
<content><![CDATA[
|
<content><![CDATA[
|
||||||
Alias "/.well-known/acme-challenge" "{{settings.system.letsencryptchallengepath}}/.well-known/acme-challenge"
|
Alias "/.well-known/acme-challenge" "{{settings.system.letsencryptchallengepath}}/.well-known/acme-challenge"
|
||||||
<Directory "{{settings.system.letsencryptchallengepath}}/.well-known/acme-challenge">
|
<Directory "{{settings.system.letsencryptchallengepath}}/.well-known/acme-challenge">
|
||||||
@@ -95,6 +97,8 @@ Alias "/.well-known/acme-challenge" "{{settings.system.letsencryptchallengepath}
|
|||||||
</content>
|
</content>
|
||||||
</file>
|
</file>
|
||||||
<file name="/etc/apache2/modules.d/80_acme.conf">
|
<file name="/etc/apache2/modules.d/80_acme.conf">
|
||||||
|
<visibility mode="true">{{settings.system.leenabled}}
|
||||||
|
</visibility>
|
||||||
<content><![CDATA[
|
<content><![CDATA[
|
||||||
Alias "/.well-known/acme-challenge" "{{settings.system.letsencryptchallengepath}}/.well-known/acme-challenge"
|
Alias "/.well-known/acme-challenge" "{{settings.system.letsencryptchallengepath}}/.well-known/acme-challenge"
|
||||||
<Directory "{{settings.system.letsencryptchallengepath}}/.well-known/acme-challenge">
|
<Directory "{{settings.system.letsencryptchallengepath}}/.well-known/acme-challenge">
|
||||||
@@ -264,6 +268,8 @@ fastcgi_param REDIRECT_STATUS 200;
|
|||||||
</content>
|
</content>
|
||||||
</file>
|
</file>
|
||||||
<file name="/etc/nginx/acme.conf">
|
<file name="/etc/nginx/acme.conf">
|
||||||
|
<visibility mode="true">{{settings.system.leenabled}}
|
||||||
|
</visibility>
|
||||||
<content><![CDATA[
|
<content><![CDATA[
|
||||||
location /.well-known/acme-challenge {
|
location /.well-known/acme-challenge {
|
||||||
alias {{settings.system.letsencryptchallengepath}}/.well-known/acme-challenge;
|
alias {{settings.system.letsencryptchallengepath}}/.well-known/acme-challenge;
|
||||||
|
|||||||
@@ -69,6 +69,8 @@
|
|||||||
</content>
|
</content>
|
||||||
</file>
|
</file>
|
||||||
<file name="/etc/apache2/conf-enabled/acme.conf">
|
<file name="/etc/apache2/conf-enabled/acme.conf">
|
||||||
|
<visibility mode="true">{{settings.system.leenabled}}
|
||||||
|
</visibility>
|
||||||
<content><![CDATA[
|
<content><![CDATA[
|
||||||
Alias "/.well-known/acme-challenge" "{{settings.system.letsencryptchallengepath}}/.well-known/acme-challenge"
|
Alias "/.well-known/acme-challenge" "{{settings.system.letsencryptchallengepath}}/.well-known/acme-challenge"
|
||||||
<Directory "{{settings.system.letsencryptchallengepath}}/.well-known/acme-challenge">
|
<Directory "{{settings.system.letsencryptchallengepath}}/.well-known/acme-challenge">
|
||||||
@@ -286,6 +288,8 @@ fastcgi_param REDIRECT_STATUS 200;
|
|||||||
</content>
|
</content>
|
||||||
</file>
|
</file>
|
||||||
<file name="/etc/nginx/acme.conf">
|
<file name="/etc/nginx/acme.conf">
|
||||||
|
<visibility mode="true">{{settings.system.leenabled}}
|
||||||
|
</visibility>
|
||||||
<content><![CDATA[
|
<content><![CDATA[
|
||||||
location /.well-known/acme-challenge {
|
location /.well-known/acme-challenge {
|
||||||
alias {{settings.system.letsencryptchallengepath}}/.well-known/acme-challenge;
|
alias {{settings.system.letsencryptchallengepath}}/.well-known/acme-challenge;
|
||||||
|
|||||||
@@ -67,6 +67,8 @@
|
|||||||
</content>
|
</content>
|
||||||
</file>
|
</file>
|
||||||
<file name="/etc/apache2/conf-enabled/acme.conf">
|
<file name="/etc/apache2/conf-enabled/acme.conf">
|
||||||
|
<visibility mode="true">{{settings.system.leenabled}}
|
||||||
|
</visibility>
|
||||||
<content><![CDATA[
|
<content><![CDATA[
|
||||||
Alias "/.well-known/acme-challenge" "{{settings.system.letsencryptchallengepath}}/.well-known/acme-challenge"
|
Alias "/.well-known/acme-challenge" "{{settings.system.letsencryptchallengepath}}/.well-known/acme-challenge"
|
||||||
<Directory "{{settings.system.letsencryptchallengepath}}/.well-known/acme-challenge">
|
<Directory "{{settings.system.letsencryptchallengepath}}/.well-known/acme-challenge">
|
||||||
@@ -245,6 +247,8 @@ fastcgi_param REDIRECT_STATUS 200;
|
|||||||
</content>
|
</content>
|
||||||
</file>
|
</file>
|
||||||
<file name="/etc/nginx/acme.conf">
|
<file name="/etc/nginx/acme.conf">
|
||||||
|
<visibility mode="true">{{settings.system.leenabled}}
|
||||||
|
</visibility>
|
||||||
<content><![CDATA[
|
<content><![CDATA[
|
||||||
location /.well-known/acme-challenge {
|
location /.well-known/acme-challenge {
|
||||||
alias {{settings.system.letsencryptchallengepath}}/.well-known/acme-challenge;
|
alias {{settings.system.letsencryptchallengepath}}/.well-known/acme-challenge;
|
||||||
|
|||||||
@@ -49,6 +49,8 @@
|
|||||||
default="true">
|
default="true">
|
||||||
<include>//service[@type='http']/general/commands</include>
|
<include>//service[@type='http']/general/commands</include>
|
||||||
<file name="/etc/httpd/conf.d/acme.conf">
|
<file name="/etc/httpd/conf.d/acme.conf">
|
||||||
|
<visibility mode="true">{{settings.system.leenabled}}
|
||||||
|
</visibility>
|
||||||
<content><![CDATA[
|
<content><![CDATA[
|
||||||
Alias "/.well-known/acme-challenge" "{{settings.system.letsencryptchallengepath}}/.well-known/acme-challenge"
|
Alias "/.well-known/acme-challenge" "{{settings.system.letsencryptchallengepath}}/.well-known/acme-challenge"
|
||||||
<Directory "{{settings.system.letsencryptchallengepath}}/.well-known/acme-challenge">
|
<Directory "{{settings.system.letsencryptchallengepath}}/.well-known/acme-challenge">
|
||||||
|
|||||||
@@ -67,6 +67,8 @@
|
|||||||
</content>
|
</content>
|
||||||
</file>
|
</file>
|
||||||
<file name="/etc/apache2/conf-enabled/acme.conf">
|
<file name="/etc/apache2/conf-enabled/acme.conf">
|
||||||
|
<visibility mode="true">{{settings.system.leenabled}}
|
||||||
|
</visibility>
|
||||||
<content><![CDATA[
|
<content><![CDATA[
|
||||||
Alias "/.well-known/acme-challenge" "{{settings.system.letsencryptchallengepath}}/.well-known/acme-challenge"
|
Alias "/.well-known/acme-challenge" "{{settings.system.letsencryptchallengepath}}/.well-known/acme-challenge"
|
||||||
<Directory "{{settings.system.letsencryptchallengepath}}/.well-known/acme-challenge">
|
<Directory "{{settings.system.letsencryptchallengepath}}/.well-known/acme-challenge">
|
||||||
@@ -97,6 +99,8 @@ Alias "/.well-known/acme-challenge" "{{settings.system.letsencryptchallengepath}
|
|||||||
</content>
|
</content>
|
||||||
</file>
|
</file>
|
||||||
<file name="/etc/apache2/conf-enabled/acme.conf">
|
<file name="/etc/apache2/conf-enabled/acme.conf">
|
||||||
|
<visibility mode="true">{{settings.system.leenabled}}
|
||||||
|
</visibility>
|
||||||
<content><![CDATA[
|
<content><![CDATA[
|
||||||
Alias "/.well-known/acme-challenge" "{{settings.system.letsencryptchallengepath}}/.well-known/acme-challenge"
|
Alias "/.well-known/acme-challenge" "{{settings.system.letsencryptchallengepath}}/.well-known/acme-challenge"
|
||||||
<Directory "{{settings.system.letsencryptchallengepath}}/.well-known/acme-challenge">
|
<Directory "{{settings.system.letsencryptchallengepath}}/.well-known/acme-challenge">
|
||||||
@@ -274,6 +278,8 @@ fastcgi_param REDIRECT_STATUS 200;
|
|||||||
</content>
|
</content>
|
||||||
</file>
|
</file>
|
||||||
<file name="/etc/nginx/acme.conf">
|
<file name="/etc/nginx/acme.conf">
|
||||||
|
<visibility mode="true">{{settings.system.leenabled}}
|
||||||
|
</visibility>
|
||||||
<content><![CDATA[
|
<content><![CDATA[
|
||||||
location /.well-known/acme-challenge {
|
location /.well-known/acme-challenge {
|
||||||
alias {{settings.system.letsencryptchallengepath}}/.well-known/acme-challenge;
|
alias {{settings.system.letsencryptchallengepath}}/.well-known/acme-challenge;
|
||||||
|
|||||||
@@ -67,6 +67,8 @@
|
|||||||
</content>
|
</content>
|
||||||
</file>
|
</file>
|
||||||
<file name="/etc/apache2/conf-enabled/acme.conf">
|
<file name="/etc/apache2/conf-enabled/acme.conf">
|
||||||
|
<visibility mode="true">{{settings.system.leenabled}}
|
||||||
|
</visibility>
|
||||||
<content><![CDATA[
|
<content><![CDATA[
|
||||||
Alias "/.well-known/acme-challenge" "{{settings.system.letsencryptchallengepath}}/.well-known/acme-challenge"
|
Alias "/.well-known/acme-challenge" "{{settings.system.letsencryptchallengepath}}/.well-known/acme-challenge"
|
||||||
<Directory "{{settings.system.letsencryptchallengepath}}/.well-known/acme-challenge">
|
<Directory "{{settings.system.letsencryptchallengepath}}/.well-known/acme-challenge">
|
||||||
@@ -97,6 +99,8 @@ Alias "/.well-known/acme-challenge" "{{settings.system.letsencryptchallengepath}
|
|||||||
</content>
|
</content>
|
||||||
</file>
|
</file>
|
||||||
<file name="/etc/apache2/conf-enabled/acme.conf">
|
<file name="/etc/apache2/conf-enabled/acme.conf">
|
||||||
|
<visibility mode="true">{{settings.system.leenabled}}
|
||||||
|
</visibility>
|
||||||
<content><![CDATA[
|
<content><![CDATA[
|
||||||
Alias "/.well-known/acme-challenge" "{{settings.system.letsencryptchallengepath}}/.well-known/acme-challenge"
|
Alias "/.well-known/acme-challenge" "{{settings.system.letsencryptchallengepath}}/.well-known/acme-challenge"
|
||||||
<Directory "{{settings.system.letsencryptchallengepath}}/.well-known/acme-challenge">
|
<Directory "{{settings.system.letsencryptchallengepath}}/.well-known/acme-challenge">
|
||||||
@@ -314,6 +318,8 @@ fastcgi_param REDIRECT_STATUS 200;
|
|||||||
</content>
|
</content>
|
||||||
</file>
|
</file>
|
||||||
<file name="/etc/nginx/acme.conf">
|
<file name="/etc/nginx/acme.conf">
|
||||||
|
<visibility mode="true">{{settings.system.leenabled}}
|
||||||
|
</visibility>
|
||||||
<content><![CDATA[
|
<content><![CDATA[
|
||||||
location /.well-known/acme-challenge {
|
location /.well-known/acme-challenge {
|
||||||
alias {{settings.system.letsencryptchallengepath}}/.well-known/acme-challenge;
|
alias {{settings.system.letsencryptchallengepath}}/.well-known/acme-challenge;
|
||||||
|
|||||||
Reference in New Issue
Block a user