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

14 lines
500 B
YAML
Raw Normal View History

2023-07-31 15:30:32 +02:00
address: {{ general.network.interface_0.ip_eth0 }}
2023-06-23 08:12:05 +02:00
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 -%}
2023-07-31 15:30:32 +02:00
true
2023-06-23 08:12:05 +02:00
{% else %}
2023-07-31 15:30:32 +02:00
false
2023-06-23 08:12:05 +02:00
{% 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 -%}
2023-07-31 15:30:32 +02:00
true
2023-06-23 08:12:05 +02:00
{% else %}
2023-07-31 15:30:32 +02:00
false
2023-06-23 08:12:05 +02:00
{% endif %}