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/README.rst b/README.rst
index 371e458..222dc69 100644
--- a/README.rst
+++ b/README.rst
@@ -74,6 +74,32 @@
name: gitlab.domain.com
port: 80
+Simple TCP/UDP proxy
+
+.. code-block:: yaml
+
+ nginx:
+ server:
+ stream:
+ rabbitmq:
+ host:
+ port: 5672
+ backend:
+ server1:
+ address: 10.10.10.113
+ port: 5672
+ least_conn: true
+ hash: "$remote_addr consistent"
+ unbound:
+ host:
+ bind: 127.0.0.1
+ port: 53
+ protocol: udp
+ backend:
+ server1:
+ address: 10.10.10.113
+ port: 5353
+
Simple HTTP proxy
.. code-block:: yaml