aboutsummaryrefslogtreecommitdiffstats
path: root/roles
diff options
context:
space:
mode:
Diffstat (limited to 'roles')
-rw-r--r--roles/httpd/templates/httpd.conf.j25
-rw-r--r--roles/website/templates/httpd.conf.j25
2 files changed, 5 insertions, 5 deletions
diff --git a/roles/httpd/templates/httpd.conf.j2 b/roles/httpd/templates/httpd.conf.j2
index 4839cd0..45b46c3 100644
--- a/roles/httpd/templates/httpd.conf.j2
+++ b/roles/httpd/templates/httpd.conf.j2
@@ -12,11 +12,6 @@ types {
image/png png
}
-location "/.well-known/acme-challenge/*" {
- root "/acme"
- request strip 2
-}
-
{% for file in configurations.files %}
include "{{ file.path }}"
{% endfor %}
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 }}" {
remember that computers suck.