Use well-known dir from dehydrated role
This commit is contained in:
parent
08577a2636
commit
9fe4d808c2
1 changed files with 2 additions and 2 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue