diff options
author | Robin Obůrka <robin.oburka@nic.cz> | 2016-10-18 14:58:26 +0200 |
---|---|---|
committer | Robin Obůrka <r.oburka@gmail.com> | 2016-10-18 17:13:59 +0200 |
commit | 98081e863591d4f43447184fa69acc9f43d9ba63 (patch) | |
tree | 99e18487138431438902dd3246ce492e6af845da /roles/nginx/templates/snippets/common.conf.j2 | |
parent | nginx: Fix conditional that deletes default config (diff) | |
download | ansible-roles-98081e863591d4f43447184fa69acc9f43d9ba63.tar.xz |
nginx: Provide new mechanism for default page manipulation
Important changes:
- The well-known path is moved to the separate snippet acme.conf
- It is possible to disable default page
- The autodetection mechanism for default page is provided
Diffstat (limited to 'roles/nginx/templates/snippets/common.conf.j2')
-rw-r--r-- | roles/nginx/templates/snippets/common.conf.j2 | 4 |
1 files changed, 0 insertions, 4 deletions
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; |