Use well-known dir from dehydrated role

This commit is contained in:
Stefan Haun 2021-03-11 22:20:31 +01:00
parent 08577a2636
commit 9fe4d808c2

View file

@ -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 }}
</VirtualHost>
<IfFile /usr/local/etc/dehydrated/certs/{{ site_name }}>
@ -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 /
</VirtualHost>