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

14 lines
468 B
YAML
Raw Normal View History

2023-06-23 08:12:05 +02:00
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 -%}
2022-08-19 20:30:13 +02:00
true
2023-06-23 08:12:05 +02:00
{% else %}
2022-08-19 20:30:13 +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 -%}
2022-08-19 20:30:13 +02:00
true
2023-06-23 08:12:05 +02:00
{% else %}
2022-08-19 20:30:13 +02:00
false
2023-06-23 08:12:05 +02:00
{% endif %}