mirror of
https://github.com/FAUSheppy/athq-vm-management
synced 2025-12-09 06:58:32 +01:00
feat: nginx jinja templates
This commit is contained in:
10
templates/nginx_stream_block.conf.j2
Normal file
10
templates/nginx_stream_block.conf.j2
Normal file
@@ -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