Mailing List Archive

svn commit: r1880719 - /httpd/httpd/trunk/docs/manual/mod/mod_proxy_wstunnel.xml
Author: covener
Date: Sun Aug 9 16:56:43 2020
New Revision: 1880719

URL: http://svn.apache.org/viewvc?rev=1880719&view=rev
Log:
cover overlapp scenario which is straightfoward in trunk

(as long you get it in the right order)


Modified:
httpd/httpd/trunk/docs/manual/mod/mod_proxy_wstunnel.xml

Modified: httpd/httpd/trunk/docs/manual/mod/mod_proxy_wstunnel.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/mod/mod_proxy_wstunnel.xml?rev=1880719&r1=1880718&r2=1880719&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/mod/mod_proxy_wstunnel.xml (original)
+++ httpd/httpd/trunk/docs/manual/mod/mod_proxy_wstunnel.xml Sun Aug 9 16:56:43 2020
@@ -49,6 +49,15 @@ Connection: Upgrade
ProxyPass "/ws2/" "ws://echo.websocket.org/"
ProxyPass "/wss2/" "wss://echo.websocket.org/"
</highlight>
+
+<p>Proxying both HTTP and websockets at the same time can be done by specifying the websockets
+<directive type="ProxyPass" module="mod_proxy">ProxyPass</directive> directive before the
+ HTTP directive:</p>
+ <highlight language="config">
+ProxyPass "/myApp/" "ws://backend.example.com/
+ProxyPass "/myApp/" "http://backend.example.com/
+ </highlight>
+

<p>Load balancing for multiple backends can be achieved using <module>mod_proxy_balancer</module>.</p>