summaryrefslogtreecommitdiff
path: root/roles/apache_server/templates/virtualhost.conf.tmpl
diff options
context:
space:
mode:
authorLars Wirzenius <liw@liw.fi>2018-07-03 16:59:00 +0300
committerLars Wirzenius <liw@liw.fi>2018-07-03 16:59:00 +0300
commited62f2c98059a605ead1a9b4838c75fbd55ead19 (patch)
treed48b495813356ddbb283402e3ccd84f0c1a281ce /roles/apache_server/templates/virtualhost.conf.tmpl
parent272c174a5a4718ce6cdae4e620f2d07f99d4772c (diff)
downloaddebian-ansible-ed62f2c98059a605ead1a9b4838c75fbd55ead19.tar.gz
Change: let user group Let's Encrypt certs
Diffstat (limited to 'roles/apache_server/templates/virtualhost.conf.tmpl')
-rw-r--r--roles/apache_server/templates/virtualhost.conf.tmpl4
1 files changed, 2 insertions, 2 deletions
diff --git a/roles/apache_server/templates/virtualhost.conf.tmpl b/roles/apache_server/templates/virtualhost.conf.tmpl
index c3d3b97..8d069ce 100644
--- a/roles/apache_server/templates/virtualhost.conf.tmpl
+++ b/roles/apache_server/templates/virtualhost.conf.tmpl
@@ -57,7 +57,7 @@
</Directory>
SSLEngine on
- SSLCertificateFile "/etc/letsencrypt/live/static_sites/fullchain.pem"
- SSLCertificateKeyFile "/etc/letsencrypt/live/static_sites/privkey.pem"
+ SSLCertificateFile "/etc/letsencrypt/live/{{ item.letsencrypt_cert|default('static_sites') }}/fullchain.pem"
+ SSLCertificateKeyFile "/etc/letsencrypt/live/{{ item.letsencrypt_cert|default('static_sites') }}/privkey.pem"
</VirtualHost>
{% endif %}