mirror of
https://github.com/FAUSheppy/athq-vm-management
synced 2025-12-07 14:21:34 +01:00
18 lines
340 B
Django/Jinja
18 lines
340 B
Django/Jinja
server{
|
|
|
|
# {{ comment }}
|
|
|
|
listen 443 ssl;
|
|
listen [::]:443 ssl;
|
|
|
|
{% if servernames %}server_name{% for s in servernames %} {{ s }}{% endfor %};{% endif %}
|
|
|
|
include acme-challenge.conf;
|
|
|
|
location / {
|
|
proxy_pass http://{{ targetip }}:{{ targetport }};
|
|
proxy_set_header Host $http_host;
|
|
}
|
|
}
|
|
|