{ skip_install_trust # acme_ca https://acme-staging-v02.api.letsencrypt.org/directory log { output stdout format json } } %{ for vhost in vhosts ~} ${vhost.domain} { reverse_proxy { %{ for upstream in vhost.upstreams ~} to https://${upstream} transport http { tls_server_name ${vhost.domain} tls_insecure_skip_verify } %{ endfor ~} %{ for hdr in vhost.headers_down ~} header_down ${hdr.modifier}${hdr.name} "${hdr.value}" %{ endfor ~} } } %{ endfor ~}