mirror of
https://github.com/FAUSheppy/athq-vm-management
synced 2026-06-19 11:12:39 +02:00
feat: nginx jinja templates
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
server {
|
||||
|
||||
# {{ comment }}
|
||||
|
||||
listen {{ portstring }} {% if udp %} udp {% endif %}{% if ssl %} ssl {% endif %};
|
||||
proxy_pass {{ targetip }}:$server_port;
|
||||
{% if transparent %} proxy_bind $remote_addr transparent; {% endif }
|
||||
proxy_timeout 10s;
|
||||
proxy_responses 1;
|
||||
}
|
||||
Reference in New Issue
Block a user