From 59619996d436f5688ab5946d820d20642d980df0 Mon Sep 17 00:00:00 2001 From: binary Date: Sat, 23 Jan 2021 12:33:37 +0100 Subject: Acme challenge has to be in a host description --- roles/website/templates/httpd.conf.j2 | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'roles/website/templates') diff --git a/roles/website/templates/httpd.conf.j2 b/roles/website/templates/httpd.conf.j2 index b1ce966..5008c18 100644 --- a/roles/website/templates/httpd.conf.j2 +++ b/roles/website/templates/httpd.conf.j2 @@ -10,6 +10,11 @@ server "{{ global.domain_name }}" { directory auto index } + location "/.well-known/acme-challenge/*" { + root "/acme" + request strip 2 + } + } server "www.{{ global.domain_name }}" { -- cgit v1.2.3