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/defaults/main.yml | |
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/defaults/main.yml')
-rw-r--r-- | roles/nginx/defaults/main.yml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/roles/nginx/defaults/main.yml b/roles/nginx/defaults/main.yml index dde38dc..d59cd9b 100644 --- a/roles/nginx/defaults/main.yml +++ b/roles/nginx/defaults/main.yml @@ -2,3 +2,6 @@ nginx_well_known_path: "/home/acme/webroot/" ## First of all - make sure that HTTPS works well; then is possible to enable HSTS nginx_enable_hsts: no +## Control default config uploading +nginx_deploy_default_config: True +nginx_enable_autodetection: True |