tighten httpd location config

master
Michael Wilson 4 years ago
parent 53b4526a2b
commit def47ba521
  1. 3
      webserver/templates/httpd.conf

@ -32,6 +32,9 @@ server "default" {
directory auto index directory auto index
authenticate "{{ webserver_fqdn }}" with "{{ webserver_htpasswd_file[ansible_distribution|lower].chroot_path }}" authenticate "{{ webserver_fqdn }}" with "{{ webserver_htpasswd_file[ansible_distribution|lower].chroot_path }}"
} }
location "*" {
block
}
location "/.well-known/acme-challenge/*" { location "/.well-known/acme-challenge/*" {
root "/acme" root "/acme"
request strip 2 request strip 2

Loading…
Cancel
Save