diff options
author | Christian Pointner <equinox@spreadspace.org> | 2023-08-08 00:42:56 +0200 |
---|---|---|
committer | Christian Pointner <equinox@spreadspace.org> | 2023-08-20 22:12:03 +0200 |
commit | 5b08c3fb96e54e0ae8ae1d650658b27dcdfd78de (patch) | |
tree | 48ef1e0e6ef766a63f1b04a071a4ebfd0b90c323 /roles/gitolite/http | |
parent | fix docker for debian bookworm+ (diff) |
make acmetool cert role more generic (WIP - needs more testing)
Diffstat (limited to 'roles/gitolite/http')
-rw-r--r-- | roles/gitolite/http/templates/nginx-vhost.conf.j2 | 4 |
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 = / { |