netz39-infra-ansible/roles/nginx-https-ingress/templates/dehydrated-host.conf.j2

14 lines
329 B
Django/Jinja

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