roles/nginx: Re-work vhost template to support HTTPS

Assumes you have a TLS cert for one domain, but not the others, ie:

    http://blah.com \
    http://blah.net  -> https://blah.io
    http://blah.org /

Otherwise, without https, it creates a vhost with all domain names.

Signed-off-by: Alan Orth <alan.orth@gmail.com>
This commit is contained in:
2014-09-06 21:32:37 +03:00
parent b6d4f090ec
commit 162197ad25
3 changed files with 41 additions and 1 deletions

View File

@ -7,4 +7,7 @@ nginx_confd_path: /etc/nginx/conf.d
# parent directory of vhost roots
nginx_root_prefix: /var/www
# TLS protocol versions to support
nginx_tls_protocols: TLSv1 TLSv1.1 TLSv1.2
# vim: set ts=2 sw=2: