You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
13 lines
194 B
Plaintext
13 lines
194 B
Plaintext
3 years ago
|
{{ ansible_managed | comment }}
|
||
|
|
||
|
server {
|
||
|
{% if item.type == "udp" %}
|
||
|
listen {{ item.from_port }} udp;
|
||
|
{% else %}
|
||
|
listen {{ item.from_port }};
|
||
|
{% endif %}
|
||
|
|
||
|
proxy_pass {{ item.to }};
|
||
|
}
|
||
|
|