From: Luca Toscano
Date: Sun, 21 Feb 2016 13:59:56 +0000 (+0000)
Subject: Updated mod_proxy's websocket documentation to address some user comments.
X-Git-Tag: 2.5.0-alpha~2031
X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0fa4920d52d9d398a1c42a5f0888aae2e0509cdd;p=thirdparty%2Fapache%2Fhttpd.git
Updated mod_proxy's websocket documentation to address some user comments.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1731532 13f79535-47bb-0310-9956-ffa450edef68
---
diff --git a/docs/manual/mod/mod_proxy_balancer.xml b/docs/manual/mod/mod_proxy_balancer.xml
index 784f355350a..4b391656715 100644
--- a/docs/manual/mod/mod_proxy_balancer.xml
+++ b/docs/manual/mod/mod_proxy_balancer.xml
@@ -30,17 +30,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 f5dc0ec10b0..903f65589c0 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