summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRomain Porte <microjoe@microjoe.org>2020-05-08 20:35:45 +0200
committerRomain Porte <microjoe@microjoe.org>2020-05-08 20:35:45 +0200
commit19ca32276d0c9c1515d5ddbe152faa9257eec3e0 (patch)
tree3a07ea81f0ca8172d3471110bfeab684bf9780ff
parented872e8676c691e4d68d3aa0f9c22706990ff59f (diff)
downloadMicroJoe.ttrss-19ca32276d0c9c1515d5ddbe152faa9257eec3e0.tar.gz
MicroJoe.ttrss-19ca32276d0c9c1515d5ddbe152faa9257eec3e0.zip
rename letsencrypt_wellknown -> nginx_certbot_webroot
-rw-r--r--defaults/main.yml2
-rw-r--r--templates/nginx.j22
2 files changed, 2 insertions, 2 deletions
diff --git a/defaults/main.yml b/defaults/main.yml
index 49cea76..1340de7 100644
--- a/defaults/main.yml
+++ b/defaults/main.yml
@@ -14,7 +14,7 @@ ttrss_db_name: ttrss
nginx_domain: ttrss.localhost
-letsencrypt_wellknown: /var/www/letsencrypt
+nginx_certbot_webroot: /var/www/letsencrypt
letsencrypt_activate: true
letsencrypt_https: true
letsencrypt_domain: "{{ nginx_domain }}"
diff --git a/templates/nginx.j2 b/templates/nginx.j2
index b23a7c7..b8bacba 100644
--- a/templates/nginx.j2
+++ b/templates/nginx.j2
@@ -8,7 +8,7 @@ server {
{% if letsencrypt_activate %}
location ^~ /.well-known/acme-challenge {
- root {{ letsencrypt_wellknown }};
+ root {{ nginx_certbot_webroot }};
}
{% if letsencrypt_https %}