use certificates role instead of letsencrypt role

This commit is contained in:
nd 2019-11-01 20:02:41 +01:00
parent f79fec1356
commit 53a4544ba1
No known key found for this signature in database
GPG key ID: 21B5CD4DEE3670E9
6 changed files with 27 additions and 2 deletions

View file

@ -61,8 +61,8 @@ server {
{% endfor %}
{% if vhost.letsencrypt|d(False) %}
ssl_certificate /etc/ssl/letsencrypt_{{ vhost_name }}_chained.crt;
ssl_certificate_key /etc/ssl/private/letsencrypt_{{ vhost_name }}.key;
ssl_certificate /etc/ssl/nginx_{{ vhost_name }}.chain.crt;
ssl_certificate_key /etc/ssl/private/nginx_{{ vhost_name }}.key;
ssl_stapling_verify on;
ssl_stapling on;
{% endif %}