mirror of
https://github.com/FAUSheppy/athq-vm-management
synced 2025-12-09 06:58:32 +01:00
fix: cleanup templates
This commit is contained in:
@@ -5,11 +5,12 @@ server{
|
||||
listen 443 ssl;
|
||||
listen [::]:443 ssl;
|
||||
|
||||
{% if servernames %}
|
||||
server_name {% for s in servernames %} {{ s }} {% endfor %};
|
||||
{% endif %}
|
||||
{% if servernames %}server_name{% for s in servernames %} {{ s }}{% endfor %};{% endif %}
|
||||
|
||||
include locations/acme-challenge.conf;
|
||||
|
||||
proxy_pass http://{{ targetip }}:{{ targetport }};
|
||||
include acme-challenge.conf;
|
||||
|
||||
location / {
|
||||
proxy_pass http://{{ targetip }}:{{ targetport }};
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user