15 lines
329 B
Text
15 lines
329 B
Text
|
# 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 %}
|