summaryrefslogtreecommitdiff
path: root/roles/nginx/vhost/templates/generic.conf.j2
diff options
context:
space:
mode:
Diffstat (limited to 'roles/nginx/vhost/templates/generic.conf.j2')
-rw-r--r--roles/nginx/vhost/templates/generic.conf.j24
1 files changed, 2 insertions, 2 deletions
diff --git a/roles/nginx/vhost/templates/generic.conf.j2 b/roles/nginx/vhost/templates/generic.conf.j2
index 08bf7a60..5c7576e7 100644
--- a/roles/nginx/vhost/templates/generic.conf.j2
+++ b/roles/nginx/vhost/templates/generic.conf.j2
@@ -18,8 +18,8 @@ server {
include snippets/acmetool.conf;
include snippets/tls{% if 'tls_variant' in nginx_vhost %}-{{ nginx_vhost.tls_variant }}{% endif %}.conf;
- ssl_certificate /var/lib/acme/live/{{ nginx_vhost.hostnames[0] }}/fullchain;
- ssl_certificate_key /var/lib/acme/live/{{ nginx_vhost.hostnames[0] }}/privkey;
+ ssl_certificate {{ x509_certificate_path_fullchain }};
+ ssl_certificate_key {{ x509_certificate_path_key }};
include snippets/hsts.conf;
{% endif %}