summaryrefslogtreecommitdiffstats
path: root/templates/nginx.j2
diff options
context:
space:
mode:
Diffstat (limited to 'templates/nginx.j2')
-rw-r--r--templates/nginx.j26
1 files changed, 3 insertions, 3 deletions
diff --git a/templates/nginx.j2 b/templates/nginx.j2
index 6654bdd..bca69ac 100644
--- a/templates/nginx.j2
+++ b/templates/nginx.j2
@@ -9,7 +9,7 @@ server {
error_log /var/log/nginx/{{ nginx_domain }}.error.log;
location ^~ /.well-known/acme-challenge {
- root {{ certbot_webroot }};
+ root {{ nginx_certbot_webroot }};
}
{% if nginx_ssl %}
@@ -27,8 +27,8 @@ server {
error_log /var/log/nginx/{{ nginx_domain }}.error.log;
ssl on;
- ssl_certificate /etc/letsencrypt/live/{{ letsencrypt_domain }}/fullchain.pem;
- ssl_certificate_key /etc/letsencrypt/live/{{ letsencrypt_domain }}/privkey.pem;
+ ssl_certificate /etc/letsencrypt/live/{{ nginx_letsencrypt_domain }}/fullchain.pem;
+ ssl_certificate_key /etc/letsencrypt/live/{{ nginx_letsencrypt_domain }}/privkey.pem;
include /etc/nginx/snippets/ssl.conf;