forked from Netz39_Admin/netz39-infra-ansible
Use certs dir from dehydrated role
This commit is contained in:
parent
9fe4d808c2
commit
f8f5981a8d
1 changed files with 4 additions and 4 deletions
|
@ -8,7 +8,7 @@
|
|||
Alias /.well-known/acme-challenge {{ dehydrated_wellknown_dir }}
|
||||
</VirtualHost>
|
||||
|
||||
<IfFile /usr/local/etc/dehydrated/certs/{{ site_name }}>
|
||||
<IfFile {{dehydrated_certs_dir}}/{{ site_name }}>
|
||||
<VirtualHost {{ ansible_default_ipv4.address }}:443 [{{ ansible_default_ipv6.address | default('::1') }}]:80>
|
||||
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 }}
|
||||
|
||||
|
|
Loading…
Reference in a new issue