diff options
Diffstat (limited to 'roles/apache_server/templates/virtualhost.conf.tmpl')
-rw-r--r-- | roles/apache_server/templates/virtualhost.conf.tmpl | 4 |
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 %} |