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 /