summaryrefslogtreecommitdiff
path: root/data/templates
diff options
context:
space:
mode:
authorJohn Estabrook <jestabro@vyos.io>2020-08-19 23:16:35 -0500
committerJohn Estabrook <jestabro@vyos.io>2020-08-19 23:16:35 -0500
commit41c847593551496770c4d08e09e32af638a30f40 (patch)
treea5f9a85293c860a4292150bf386662b39aed3f45 /data/templates
parent0bc94e588fea31888445d182f54803598e82b615 (diff)
downloadvyos-1x-41c847593551496770c4d08e09e32af638a30f40.tar.gz
vyos-1x-41c847593551496770c4d08e09e32af638a30f40.zip
https: T2815: adjust for change in certbot config directory
Diffstat (limited to 'data/templates')
-rw-r--r--data/templates/https/nginx.default.tmpl8
1 files changed, 4 insertions, 4 deletions
diff --git a/data/templates/https/nginx.default.tmpl b/data/templates/https/nginx.default.tmpl
index f4f2c1848..aaa652e09 100644
--- a/data/templates/https/nginx.default.tmpl
+++ b/data/templates/https/nginx.default.tmpl
@@ -25,10 +25,10 @@ server {
{% endfor %}
{% if server.certbot %}
- ssl_certificate /etc/letsencrypt/live/{{ server.certbot_dir }}/fullchain.pem;
- ssl_certificate_key /etc/letsencrypt/live/{{ server.certbot_dir }}/privkey.pem;
- include /etc/letsencrypt/options-ssl-nginx.conf;
- ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem;
+ ssl_certificate {{ server.certbot_dir }}/live/{{ server.certbot_domain_dir }}/fullchain.pem;
+ ssl_certificate_key {{ server.certbot_dir }}/live/{{ server.certbot_domain_dir }}/privkey.pem;
+ include {{ server.certbot_dir }}/options-ssl-nginx.conf;
+ ssl_dhparam {{ server.certbot_dir }}/ssl-dhparams.pem;
{% elif server.vyos_cert %}
include {{ server.vyos_cert.conf }};
{% else %}