{% for domain in obsd_ssl_domains %} server "{{ domain.name }}" { listen on * port 80 log access "{{ domain.name }}-access.log" log error "{{ domain.name }}-error.log" location "/.well-known/acme-challenge/*" { root "/acme" request strip 2 } location * { block return 302 "https://$HTTP_HOST$REQUEST_URI" } } {% endfor %}