]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Updated mod_proxy's websocket documentation to address some user comments.
authorLuca Toscano <elukey@apache.org>
Sun, 21 Feb 2016 13:59:56 +0000 (13:59 +0000)
committerLuca Toscano <elukey@apache.org>
Sun, 21 Feb 2016 13:59:56 +0000 (13:59 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1731532 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/mod/mod_proxy_balancer.xml
docs/manual/mod/mod_proxy_wstunnel.xml

index 784f355350a0dc694a18e6b50e4b6aebbb423b65..4b3916567156ddc5344c6d2d21fdcd2733032b89 100644 (file)
 
 <summary>
     <p>This module <em>requires</em> the service of <module
-    >mod_proxy</module>. It provides load balancing support for
-    <code>HTTP</code>, <code>FTP</code> and <code>AJP13</code> protocols
-    </p>
-
-    <p>Load balancing scheduler algorithm is provided by not this
-    module but other modules such as:
-    <module>mod_lbmethod_byrequests</module>,
-    <module>mod_lbmethod_bytraffic</module>,
-    <module>mod_lbmethod_bybusyness</module> and
-    <module>mod_lbmethod_heartbeat</module>.
-    </p>
+    >mod_proxy</module> and it provides load balancing for
+    all the supported protocols. The most important ones are:</p>
+    <ul>
+        <li>HTTP, using <module>mod_proxy_http</module></li>
+        <li>FTP, using <module>mod_proxy_ftp</module></li>
+        <li>AJP13, using <module>mod_proxy_ajp</module></li>
+        <li>WebSocket, using <module>mod_proxy_wstunnel</module></li>
+    </ul>
+    
+    <p>The Load balancing scheduler algorithm is not provided by this
+    module but from other ones such as:</p>
+    <ul>
+        <li><module>mod_lbmethod_byrequests</module></li>
+        <li><module>mod_lbmethod_bytraffic</module></li>
+        <li><module>mod_lbmethod_bybusyness</module></li>
+        <li><module>mod_lbmethod_heartbeat</module></li>
+    </ul>
 
     <p>Thus, in order to get the ability of load balancing,
     <module>mod_proxy</module>, <module>mod_proxy_balancer</module>
index f5dc0ec10b0dbaf50cdacf31cf016bde78eaf482..903f65589c02770a6dd1fb421b1282f68b1fd1eb 100644 (file)
     <p>This module <em>requires</em> the service of <module
     >mod_proxy</module>. It provides support for the tunnelling of web
     socket connections to a backend websockets server. The connection
-    is automagically upgraded to a websocket connection:</p>
+    is automatically upgraded to a websocket connection:</p>
 
-    <highlight language="config">
+    <example><title>HTTP Response</title>
+        <highlight language="config">
 Upgrade: WebSocket
 Connection: Upgrade
-    </highlight>
-
+        </highlight>
+    </example>
 
-    <example><title>Proxying requests to websockets server</title>
+<p>Proxying requests to a websockets server like <code>echo.websocket.org</code> can be done using the
+<directive type="ProxyPass" module="mod_proxy">ProxyPass</directive> directive:</p>
     <highlight language="config">
 ProxyPass "/ws2/"  "ws://echo.websocket.org/"
 ProxyPass "/wss2/" "wss://echo.websocket.org/"
     </highlight>
-    </example>
 
+<p>Load balancing for multiple backends can be achieved using <module>mod_proxy_balancer</module>.</p>
 </summary>
 
 <seealso><module>mod_proxy</module></seealso>