mirror of
https://github.com/FAUSheppy/athq-vm-management
synced 2025-12-06 05:41:35 +01:00
14 lines
428 B
Django/Jinja
14 lines
428 B
Django/Jinja
server {
|
|
|
|
# {{ comment }}
|
|
listen {{ portstring }} {% if udp %} udp {% endif %}{% if ssl %} ssl {% endif %};
|
|
listen [::]:{{ portstring }} {% if udp %} udp {% endif %}{% if ssl %} ssl {% endif %};
|
|
|
|
proxy_timeout {{ proxy_timeout }};
|
|
proxy_responses 1;
|
|
proxy_pass {{ targetip }}:$server_port;
|
|
|
|
{% if transparent %} proxy_bind $remote_addr{% if udp %}:$remote_port{% endif %} transparent; {% endif %}
|
|
}
|
|
|