dataset/seed/nginx-common/templates/nginx-common.yml
2023-07-31 15:30:32 +02:00

13 lines
500 B
YAML

address: {{ general.network.interface_0.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 %}