From: Luca Toscano
Date: Mon, 22 Feb 2016 07:18:19 +0000 (+0000)
Subject: Added more references to mod_proxy_* doc about websockets and load balancing.
X-Git-Tag: 2.4.19~166
X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=91cfe0d9cfccdee2b84fffa1646fd598add3b7a3;p=apache
Added more references to mod_proxy_* doc about websockets and load balancing.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1731594 13f79535-47bb-0310-9956-ffa450edef68
---
diff --git a/docs/manual/mod/mod_proxy_balancer.xml b/docs/manual/mod/mod_proxy_balancer.xml
index 5e42c9ca8c..05ed1f0c98 100644
--- a/docs/manual/mod/mod_proxy_balancer.xml
+++ b/docs/manual/mod/mod_proxy_balancer.xml
@@ -31,17 +31,23 @@
This module requires the service of mod_proxy. It provides load balancing support for
- HTTP
, FTP
and AJP13
protocols
-
-
- Load balancing scheduler algorithm is provided by not this
- module but other modules such as:
- mod_lbmethod_byrequests,
- mod_lbmethod_bytraffic,
- mod_lbmethod_bybusyness and
- mod_lbmethod_heartbeat.
-
+ >mod_proxy and it provides load balancing for
+ all the supported protocols. The most important ones are:
+
+ - HTTP, using mod_proxy_http
+ - FTP, using mod_proxy_ftp
+ - AJP13, using mod_proxy_ajp
+ - WebSocket, using mod_proxy_wstunnel
+
+
+ The Load balancing scheduler algorithm is not provided by this
+ module but from other ones such as:
+
+ - mod_lbmethod_byrequests
+ - mod_lbmethod_bytraffic
+ - mod_lbmethod_bybusyness
+ - mod_lbmethod_heartbeat
+
Thus, in order to get the ability of load balancing,
mod_proxy, mod_proxy_balancer
diff --git a/docs/manual/mod/mod_proxy_wstunnel.xml b/docs/manual/mod/mod_proxy_wstunnel.xml
index 588c531533..907576766d 100644
--- a/docs/manual/mod/mod_proxy_wstunnel.xml
+++ b/docs/manual/mod/mod_proxy_wstunnel.xml
@@ -34,21 +34,23 @@
This module requires the service of mod_proxy. It provides support for the tunnelling of web
socket connections to a backend websockets server. The connection
- is automagically upgraded to a websocket connection:
+ is automatically upgraded to a websocket connection:
-
+ HTTP Response
+
Upgrade: WebSocket
Connection: Upgrade
-
-
+
+
- Proxying requests to websockets server
+Proxying requests to a websockets server like echo.websocket.org
can be done using the
+ProxyPass directive:
ProxyPass "/ws2/" "ws://echo.websocket.org/"
ProxyPass "/wss2/" "wss://echo.websocket.org/"
-
+Load balancing for multiple backends can be achieved using mod_proxy_balancer.
mod_proxy