summaryrefslogtreecommitdiff
path: root/roles/gitolite/http/templates/nginx-vhost.conf.j2
diff options
context:
space:
mode:
Diffstat (limited to 'roles/gitolite/http/templates/nginx-vhost.conf.j2')
-rw-r--r--roles/gitolite/http/templates/nginx-vhost.conf.j24
1 files changed, 2 insertions, 2 deletions
diff --git a/roles/gitolite/http/templates/nginx-vhost.conf.j2 b/roles/gitolite/http/templates/nginx-vhost.conf.j2
index add7a719..3386d956 100644
--- a/roles/gitolite/http/templates/nginx-vhost.conf.j2
+++ b/roles/gitolite/http/templates/nginx-vhost.conf.j2
@@ -23,8 +23,8 @@ server {
include snippets/acmetool.conf;
include snippets/tls.conf;
- ssl_certificate /var/lib/acme/live/{{ gitolite_instances[gitolite_instance].http.hostnames[0] }}/fullchain;
- ssl_certificate_key /var/lib/acme/live/{{ gitolite_instances[gitolite_instance].http.hostnames[0] }}/privkey;
+ ssl_certificate {{ x509_certificate_path_fullchain }};
+ ssl_certificate_key {{ x509_certificate_path_key }};
include snippets/hsts.conf;
location = / {