server{ # {{ comment }} listen 443 ssl; listen [::]:443 ssl; {% if servernames %} server_name {% for s in servernames %} {{ s }} {% endfor %}; {% endif %} include locations/acme-challenge.conf; proxy_pass http://{{ targetip }}:{{ targetport }}; }