From def47ba5215d45dd8452722c1b08055cc16de38e Mon Sep 17 00:00:00 2001 From: Michael Wilson Date: Mon, 4 Apr 2022 19:13:07 +0200 Subject: [PATCH] tighten httpd location config --- webserver/templates/httpd.conf | 3 +++ 1 file changed, 3 insertions(+) diff --git a/webserver/templates/httpd.conf b/webserver/templates/httpd.conf index fa5260e..7e70a7f 100644 --- a/webserver/templates/httpd.conf +++ b/webserver/templates/httpd.conf @@ -32,6 +32,9 @@ server "default" { directory auto index authenticate "{{ webserver_fqdn }}" with "{{ webserver_htpasswd_file[ansible_distribution|lower].chroot_path }}" } + location "*" { + block + } location "/.well-known/acme-challenge/*" { root "/acme" request strip 2