From f8f5981a8dce6227a3edf6e36e3b845789805274 Mon Sep 17 00:00:00 2001 From: Stefan Haun Date: Thu, 11 Mar 2021 22:24:35 +0100 Subject: [PATCH] Use certs dir from dehydrated role --- .../setup-http-dehydrated/templates/apache-dehydrated.j2 | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/roles/setup-http-dehydrated/templates/apache-dehydrated.j2 b/roles/setup-http-dehydrated/templates/apache-dehydrated.j2 index f641bfb..8fe69d3 100644 --- a/roles/setup-http-dehydrated/templates/apache-dehydrated.j2 +++ b/roles/setup-http-dehydrated/templates/apache-dehydrated.j2 @@ -8,7 +8,7 @@ Alias /.well-known/acme-challenge {{ dehydrated_wellknown_dir }} - + ServerAdmin {{ server_admin }} ServerName {{ site_name }} @@ -19,9 +19,9 @@ SSLEngine on SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown - SSLCertificateFile /usr/local/etc/dehydrated/certs/{{ site_name }}/cert.pem - SSLCertificateKeyFile /usr/local/etc/dehydrated/certs/{{ site_name }}/privkey.pem - SSLCertificateChainFile /usr/local/etc/dehydrated/certs/{{ site_name }}/chain.pem + SSLCertificateFile {{dehydrated_certs_dir}}/{{ site_name }}/cert.pem + SSLCertificateKeyFile {{dehydrated_certs_dir}}/{{ site_name }}/privkey.pem + SSLCertificateChainFile {{dehydrated_certs_dir}}/{{ site_name }}/chain.pem Alias /.well-known/acme-challenge {{ dehydrated_wellknown_dir }}