roles/nginx: Clean up template spacing
Signed-off-by: Alan Orth <alan.orth@gmail.com>
This commit is contained in:
parent
a8005404f1
commit
86ee36da77
@ -1,9 +1,9 @@
|
|||||||
{% set domain_name = item.nginx_domain_name %}
|
{% set domain_name = item.nginx_domain_name %}
|
||||||
{% set domain_aliases = item.nginx_domain_aliases | default("") %}
|
{% set domain_aliases = item.nginx_domain_aliases | default("") %}
|
||||||
{% set enable_https = item.nginx_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" #}
|
{# assume HSTS is off unless a vhost explicitly sets it to "yes" #}
|
||||||
{% set enable_hsts = item.nginx_enable_hsts | default("no") %}
|
{% set enable_hsts = item.nginx_enable_hsts | default("no") %}
|
||||||
{% set has_wordpress = item.has_wordpress | default("no") %}
|
{% set has_wordpress = item.has_wordpress | default("no") %}
|
||||||
|
|
||||||
{% if enable_https == "yes" %}
|
{% if enable_https == "yes" %}
|
||||||
# http -> https vhost
|
# http -> https vhost
|
||||||
|
Loading…
Reference in New Issue
Block a user