]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
cover overlapp scenario which is straightfoward in trunk
authorEric Covener <covener@apache.org>
Sun, 9 Aug 2020 16:56:43 +0000 (16:56 +0000)
committerEric Covener <covener@apache.org>
Sun, 9 Aug 2020 16:56:43 +0000 (16:56 +0000)
(as long you get it in the right order)

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1880719 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/mod/mod_proxy_wstunnel.xml

index 111adfc81ef0e2a4670fd3e8134f9f41071b0f5d..c10ff2e6fefd12bd3faebb94fa29ddc51c753665 100644 (file)
@@ -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>