From: Yann Ylavic Date: Fri, 27 Jan 2023 17:46:45 +0000 (+0000) Subject: docs: move mod_proxy_wstunnel deprecation warning up and warn about ANY/NONE protos. X-Git-Tag: 2.5.0-alpha2-ci-test-only~132 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=509959caf9f412fbc0501017db6895262f997ce5;p=thirdparty%2Fapache%2Fhttpd.git docs: move mod_proxy_wstunnel deprecation warning up and warn about ANY/NONE protos. [skip ci] git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1907038 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/mod/mod_proxy_wstunnel.xml b/docs/manual/mod/mod_proxy_wstunnel.xml index 2f726349c3c..8c094b882b4 100644 --- a/docs/manual/mod/mod_proxy_wstunnel.xml +++ b/docs/manual/mod/mod_proxy_wstunnel.xml @@ -31,6 +31,12 @@ Available in httpd 2.4.5 and later + <a id="deprecation" name="deprecation">Deprecation</a> +

Since Apache HTTP Server 2.4.47, protocol Upgrade (tunneling) can be better handled by + mod_proxy_http.

+

See Protocol Upgrade.

+
+

This module requires the service of mod_proxy. It provides support for the tunnelling of web socket connections to a backend websockets server. The connection @@ -61,18 +67,18 @@ ProxyPass "/" "http://backend.example.com:9080/"

Load balancing for multiple backends can be achieved using mod_proxy_balancer.

-

In fact the module can be used to upgrade to other protocols, you can set the upgrade -parameter in the ProxyPass -directive to allow the module to accept other protocol. -NONE means you bypass the check for the header but still upgrade to WebSocket. -ANY means that Upgrade will read in the request headers and use -in the response Upgrade

- - <a id="deprecation" name="deprecation">Deprecation</a> -

Since Apache HTTP Server 2.4.47, protocol Upgrade (tunneling) can be better handled by - mod_proxy_http.

-

See Protocol Upgrade.

-
+

+The module can also be used to upgrade to other protocols than WebSocket, by setting +the upgrade parameter in the +ProxyPass +directive to some custom protocol name. +Special upgrade=NONE and upgrade=ANY values may be used for +testing/forcing the upgrade but they are not recommended for production for +security reasons. +NONE means that the check for the header is omitted but still the upgrade to +WebSocket still happens. +ANY means that the upgrade will happen with any protocol asked by the client. +

mod_proxy