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