dataset/seed/nginx-reverse-proxy/templates/reverse-proxy.yml

14 lines
528 B
YAML
Raw Normal View History

2023-07-31 15:30:32 +02:00
address: {{ general.network.interface_0.ip_eth0 }}
urls:
2023-07-31 15:30:32 +02:00
{% for domain in nginx.remotes %}
2023-06-23 08:12:05 +02:00
{% set suffix = domain|normalize_family %}
{% for revprox in nginx['reverse_proxy_for_' + suffix]['reverse_proxy_' + suffix]['revprox_domainnames_' + suffix] %}
{% for location in revprox['revprox_location_' + suffix] %}
{% if not revprox['revprox_is_websocket_' + suffix][loop.index - 1] %}
- {{ revprox }}{{ location }}
{% endif %}
{% endfor %}
{% endfor %}
{% endfor %}
2023-07-31 15:30:32 +02:00
ca_certificate: ../etc/pki/ca-trust/source/anchors/External.crt