From 28f428aec8175ff097f5088e6f9ba58ed9fbb040 Mon Sep 17 00:00:00 2001 From: Eric Covener Date: Sun, 9 Aug 2020 16:56:43 +0000 Subject: [PATCH] cover overlapp scenario which is straightfoward in trunk (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 | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/docs/manual/mod/mod_proxy_wstunnel.xml b/docs/manual/mod/mod_proxy_wstunnel.xml index 111adfc81ef..c10ff2e6fef 100644 --- a/docs/manual/mod/mod_proxy_wstunnel.xml +++ b/docs/manual/mod/mod_proxy_wstunnel.xml @@ -49,6 +49,15 @@ Connection: Upgrade ProxyPass "/ws2/" "ws://echo.websocket.org/" ProxyPass "/wss2/" "wss://echo.websocket.org/" + +

Proxying both HTTP and websockets at the same time can be done by specifying the websockets +ProxyPass directive before the + HTTP directive:

+ +ProxyPass "/myApp/" "ws://backend.example.com/ +ProxyPass "/myApp/" "http://backend.example.com/ + +

Load balancing for multiple backends can be achieved using mod_proxy_balancer.

-- 2.47.3