12 lines
194 B
Text
12 lines
194 B
Text
{{ ansible_managed | comment }}
|
|
|
|
server {
|
|
{% if item.type == "udp" %}
|
|
listen {{ item.from_port }} udp;
|
|
{% else %}
|
|
listen {{ item.from_port }};
|
|
{% endif %}
|
|
|
|
proxy_pass {{ item.to }};
|
|
}
|
|
|