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/acme.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/acme.conf.j2')
-rw-r--r-- | roles/nginx/templates/snippets/acme.conf.j2 | 4 |
1 files changed, 4 insertions, 0 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; +} |