dataset/seed/nginx-reverse-proxy/templates/reverse-proxy.yml
2022-07-04 15:44:18 +02:00

10 lines
350 B
YAML

address: %%ip_eth0
urls:
%for %%domain in %%revprox_domainnames_all
%set %%suffix = %%normalize_family(%%domain)
%for %%location in %%nginx['reverse_proxy_for_' + %%suffix]['reverse_proxy_' + %%suffix]['revprox_location_' + %%suffix]
%if not %%location['revprox_is_websocket_' + %%suffix]
- %%domain%%location
%end if
%end for
%end for