diff options
author | Luca Toscano <elukey@apache.org> | 2016-02-21 15:00:14 +0100 |
---|---|---|
committer | Luca Toscano <elukey@apache.org> | 2016-02-21 15:00:14 +0100 |
commit | 3e21ef4bb4cb1d2e6137ddd6c053a70f44458e5e (patch) | |
tree | c61126c48041a0628c14f7adf35bf1526c7cb32e /docs/manual/mod/mod_proxy_wstunnel.html.en | |
parent | Updated mod_proxy's websocket documentation to address some user comments. (diff) | |
download | apache2-3e21ef4bb4cb1d2e6137ddd6c053a70f44458e5e.tar.xz apache2-3e21ef4bb4cb1d2e6137ddd6c053a70f44458e5e.zip |
Documentation rebuild
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1731533 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'docs/manual/mod/mod_proxy_wstunnel.html.en')
-rw-r--r-- | docs/manual/mod/mod_proxy_wstunnel.html.en | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/docs/manual/mod/mod_proxy_wstunnel.html.en b/docs/manual/mod/mod_proxy_wstunnel.html.en index b591e13ebc..5d37fbe30b 100644 --- a/docs/manual/mod/mod_proxy_wstunnel.html.en +++ b/docs/manual/mod/mod_proxy_wstunnel.html.en @@ -38,17 +38,19 @@ <p>This module <em>requires</em> the service of <code class="module"><a href="../mod/mod_proxy.html">mod_proxy</a></code>. 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> - <pre class="prettyprint lang-config">Upgrade: WebSocket + <div class="example"><h3>HTTP Response</h3><pre class="prettyprint lang-config">Upgrade: WebSocket Connection: Upgrade</pre> +</div> - - - <div class="example"><h3>Proxying requests to websockets server</h3><pre class="prettyprint lang-config">ProxyPass "/ws2/" "ws://echo.websocket.org/" +<p>Proxying requests to a websockets server like <code>echo.websocket.org</code> can be done using the +<code class="directive"><a href="../mod/mod_proxy.html#proxypass">ProxyPass</a></code> directive:</p> + <pre class="prettyprint lang-config">ProxyPass "/ws2/" "ws://echo.websocket.org/" ProxyPass "/wss2/" "wss://echo.websocket.org/"</pre> -</div> + +<p>Load balancing for multiple backends can be achieved using <code class="module"><a href="../mod/mod_proxy_balancer.html">mod_proxy_balancer</a></code>.</p> </div> <div id="quickview"><h3 class="directives">Directives</h3> <ul id="toc"> |