Presenting stream feature for nginx. TCP/UDP port proxy/balancing
With this patchset you will be able to set up tcp or udp proxy.
Change-Id: Ie88870d8ce7dc230ee895aaa6aa57c098f622186
diff --git a/tests/pillar/proxy.sls b/tests/pillar/proxy.sls
index 6a1a2c2..934c4e6 100644
--- a/tests/pillar/proxy.sls
+++ b/tests/pillar/proxy.sls
@@ -3,6 +3,23 @@
enabled: true
nginx:
server:
+ stream:
+ rabbitmq:
+ host:
+ port: 5672
+ backend:
+ server1:
+ address: 10.10.10.113
+ port: 5672
+ unbound:
+ host:
+ bind: 127.0.0.1
+ port: 53
+ protocol: udp
+ backend:
+ server1:
+ address: 10.10.10.114
+ port: 5353
enabled: true
extras: false
bind: