summaryrefslogtreecommitdiff
path: root/roles/gitolite
diff options
context:
space:
mode:
authorChristian Pointner <equinox@spreadspace.org>2023-08-08 00:42:56 +0200
committerChristian Pointner <equinox@spreadspace.org>2023-08-20 22:12:03 +0200
commit5b08c3fb96e54e0ae8ae1d650658b27dcdfd78de (patch)
tree48ef1e0e6ef766a63f1b04a071a4ebfd0b90c323 /roles/gitolite
parentfix docker for debian bookworm+ (diff)
make acmetool cert role more generic (WIP - needs more testing)
Diffstat (limited to 'roles/gitolite')
-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 = / {