roles/nginx: Use more consistent naming for per-host nginx options

The `enable_https` option in host_vars becomes `nginx_enable_https`
to be more consistent with other nginx options used in host_vars.

Signed-off-by: Alan Orth <alan.orth@gmail.com>
This commit is contained in:
2015-12-09 23:21:19 +02:00
parent 1701937006
commit a8005404f1
2 changed files with 80 additions and 80 deletions

View File

@ -1,6 +1,6 @@
{% set domain_name = item.nginx_domain_name %}
{% set domain_aliases = item.nginx_domain_aliases | default("") %}
{% set enable_https = item.enable_https | default("no") %}
{% set enable_https = item.nginx_enable_https | default("no") %}
{# assume HSTS is off unless a vhost explicitly sets it to "yes" #}
{% set enable_hsts = item.nginx_enable_hsts | default("no") %}
{% set has_wordpress = item.has_wordpress | default("no") %}