ansible/roles/reverse_proxy_stream/templates/nginx/stream-available/reverse_proxy

13 lines
194 B
Text
Raw Normal View History

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