From 9fe4d808c21b57cff18f2523e9e0907cb8ca4f7d Mon Sep 17 00:00:00 2001 From: Stefan Haun Date: Thu, 11 Mar 2021 22:20:31 +0100 Subject: [PATCH] Use well-known dir from dehydrated role --- roles/setup-http-dehydrated/templates/apache-dehydrated.j2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/roles/setup-http-dehydrated/templates/apache-dehydrated.j2 b/roles/setup-http-dehydrated/templates/apache-dehydrated.j2 index fe5faad..f641bfb 100644 --- a/roles/setup-http-dehydrated/templates/apache-dehydrated.j2 +++ b/roles/setup-http-dehydrated/templates/apache-dehydrated.j2 @@ -5,7 +5,7 @@ ErrorLog /var/log/apache2/{{ site_name }}-error.log CustomLog /var/log/apache2/{{ site_name }}-access.log common - Alias /.well-known/acme-challenge /usr/local/etc/dehydrated/challenge + Alias /.well-known/acme-challenge {{ dehydrated_wellknown_dir }} @@ -23,7 +23,7 @@ SSLCertificateKeyFile /usr/local/etc/dehydrated/certs/{{ site_name }}/privkey.pem SSLCertificateChainFile /usr/local/etc/dehydrated/certs/{{ site_name }}/chain.pem - Alias /.well-known/acme-challenge /usr/local/etc/dehydrated/challenge + Alias /.well-known/acme-challenge {{ dehydrated_wellknown_dir }} Redirect 404 /