From 7301c08c19b7b024c1d33f556d1db984eff24e2e Mon Sep 17 00:00:00 2001 From: Aaron LI Date: Sun, 22 Sep 2019 10:13:40 +0800 Subject: vars: Introduce 'web.acme_webroot' --- roles/web/templates/sites/00-acme-httpredirect.conf.j2 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'roles/web/templates') 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; -- cgit v1.2.2