feat: nginx jinja templates

This commit is contained in:
2022-12-21 13:49:13 +01:00
parent d729c551c1
commit ef3cf38c94
3 changed files with 25 additions and 0 deletions

View File

@@ -0,0 +1,15 @@
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 }};
}