feat: nginx jinja templates

This commit is contained in:
2022-12-21 13:49:13 +01:00
parent d729c551c1
commit ef3cf38c94
3 changed files with 25 additions and 0 deletions

View 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;
}