netz39-infra-ansible/roles/nginx_https_ingress/templates/dehydrated-host.conf.j2

15 lines
334 B
Text
Raw Normal View History

# Dehydrated forwardings for server {{ item.server }}
{% if 'hosts' in item %}
{% for host in item.hosts %}
server {
listen 80;
listen [::]:80;
server_name {{ host.name }};
location /.well-known/acme-challenge {
proxy_pass http://{{ item.server }}.n39.eu:80;
}
}
{% endfor %}
{% endif %}