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