aboutsummaryrefslogtreecommitdiffstats
path: root/roles/web
diff options
context:
space:
mode:
authorAaron LI <aly@aaronly.me>2019-09-22 10:13:40 +0800
committerAaron LI <aly@aaronly.me>2019-09-22 10:13:40 +0800
commit7301c08c19b7b024c1d33f556d1db984eff24e2e (patch)
tree9e4e0b0511dfe68c5ab85c5b9fd757401a66def4 /roles/web
parent02a82c671fafbabbc74b2895e284b170e7086d66 (diff)
downloadansible-dfly-vps-7301c08c19b7b024c1d33f556d1db984eff24e2e.tar.bz2
vars: Introduce 'web.acme_webroot'
Diffstat (limited to 'roles/web')
-rw-r--r--roles/web/templates/sites/00-acme-httpredirect.conf.j22
1 files changed, 1 insertions, 1 deletions
diff --git a/roles/web/templates/sites/00-acme-httpredirect.conf.j2 b/roles/web/templates/sites/00-acme-httpredirect.conf.j2
index bf6d325..a4b59a8 100644
--- a/roles/web/templates/sites/00-acme-httpredirect.conf.j2
+++ b/roles/web/templates/sites/00-acme-httpredirect.conf.j2
@@ -13,7 +13,7 @@ server {
location ^~ /.well-known/acme-challenge/ {
default_type text/plain;
- root /usr/local/www/acme;
+ root {{ web.acme_webroot }};
}
location = /.well-known/acme-challenge/ {
return 404;