dataset/seed/nginx-common/templates/nginx-common.yml

13 lines
468 B
YAML

address: {{ ip_eth0 }}
nginx_default_http:
{%- if 'nginx_default_http' in general.nginx and general.nginx.nginx_default_http and not 'revprox_client_external_domainnames' in general.revprox.revprox_client -%}
true
{% else %}
false
{% endif %}
nginx_default_https:
{%- if 'nginx_default_https' in general.nginx and general.nginx.nginx_default_https and not 'revprox_client_external_domainnames' in general.revprox.revprox_client -%}
true
{% else %}
false
{% endif %}