summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRomain Porte <microjoe@microjoe.org>2020-05-07 07:00:22 +0200
committerRomain Porte <microjoe@microjoe.org>2020-05-07 07:00:22 +0200
commit561753294ac55c8f4eff6dfb3dfa23a52857afaa (patch)
treeebe500d88f6a6832094e48fcfb97a015b6e0c4b3
parentc7b8af187163403f93e4a666e964837298212394 (diff)
downloadMicroJoe.nginx-staticwebsite-561753294ac55c8f4eff6dfb3dfa23a52857afaa.tar.gz
MicroJoe.nginx-staticwebsite-561753294ac55c8f4eff6dfb3dfa23a52857afaa.zip
rename letsencrypt_wellknown -> 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 6e6d7a2..e5a14d3 100644
--- a/defaults/main.yml
+++ b/defaults/main.yml
@@ -9,8 +9,8 @@ nginx_auth_file: ""
nginx_enable_http2: true
nginx_cache_static: true
-letsencrypt_wellknown: /var/www/letsencrypt
nginx_ssl: false
+certbot_webroot: /var/www/letsencrypt
letsencrypt_domain: "{{ nginx_domain }}"
upload_user: ssh-http-upload
diff --git a/templates/nginx.j2 b/templates/nginx.j2
index ed7c12d..6654bdd 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 {{ letsencrypt_wellknown }};
+ root {{ certbot_webroot }};
}
{% if nginx_ssl %}