summaryrefslogtreecommitdiffstats
path: root/roles/nginx/templates
diff options
context:
space:
mode:
Diffstat (limited to 'roles/nginx/templates')
-rw-r--r--roles/nginx/templates/snippets/acme.conf.j24
-rw-r--r--roles/nginx/templates/snippets/common.conf.j24
2 files changed, 4 insertions, 4 deletions
diff --git a/roles/nginx/templates/snippets/acme.conf.j2 b/roles/nginx/templates/snippets/acme.conf.j2
new file mode 100644
index 0000000..4980312
--- /dev/null
+++ b/roles/nginx/templates/snippets/acme.conf.j2
@@ -0,0 +1,4 @@
+location ^~ /.well-known/ {
+ root {{ nginx_well_known_path }};
+ allow all;
+}
diff --git a/roles/nginx/templates/snippets/common.conf.j2 b/roles/nginx/templates/snippets/common.conf.j2
index 727da03..0a8e29e 100644
--- a/roles/nginx/templates/snippets/common.conf.j2
+++ b/roles/nginx/templates/snippets/common.conf.j2
@@ -3,8 +3,4 @@ location ~ /\.ht {
deny all;
}
-location ^~ /.well-known/ {
- root {{ nginx_well_known_path }};
-}
-
charset utf-8;