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

14 lines
526 B
YAML
Raw Normal View History

address: %%ip_eth0
urls:
2022-08-18 10:19:43 +02:00
%for %%domain in %%nginx.remotes
%set %%suffix = %%normalize_family(%%domain)
2022-08-18 10:19:43 +02:00
%for %%revprox in %%nginx['reverse_proxy_for_' + %%suffix]['reverse_proxy_' + %%suffix]['revprox_domainnames_' + %%suffix]
%for %%loc_idx, %%location in %%enumerate(%%revprox['revprox_location_' + %%suffix])
%if not %%revprox['revprox_is_websocket_' + %%suffix][%%loc_idx]
- %%revprox%%location
%end if
%end for
%end for
%end for
2023-01-17 21:43:32 +01:00
ca_certificate: ../etc/pki/ca-trust/source/anchors/ca_External.crt