From: Yann Ylavic Since Apache HTTP Server 2.4.47, protocol Upgrade (tunneling) can be handled
- end-to-end by End-to-end means that the HTTP Upgrade request from the client/browser is first
- forwarded by For Apache HTTP Server 2.4.46 and earlier (or if
- Since Apache HTTP Server 2.4.47, protocol Upgrade (tunneling) can be handled
+ end-to-end by End-to-end means that the HTTP Upgrade request from the client/browser is first
+ forwarded by See Websocket Upgrade (2.4.47 and later) for an example of
+ configuration using For Apache HTTP Server 2.4.46 and earlier (or if
+ Websocket Upgrade (2.4.47 and later)
ProxyPass "/some/ws/capable/path/" "http://example.com/some/ws/capable/path/" upgrade=websocket
Protocol Upgrade
- mod_proxy_http
using the ProxyPass
- parameter upgrade.mod_proxy_http
to the origin server and the connection
- will be upgraded (and tunneled by mod_proxy_http
) only if the origin
- server accepts/initiates the upgrade (HTTP response 101 Switching Protocols
).
- If the origin server responds with anything else mod_proxy_http
- will continue forwarding (and enforcing) the HTTP protocol as usual for this
- connection.Example
ProxyPass "/some/http/or/ws/path/" "http://example.com/some/http/or/ws/path/" upgrade=websocket
-ProxyWebsocketFallbackToProxyHttp
- from 2.4.48 and later disables mod_proxy_http
handling), see the
- documentation of mod_proxy_wstunnel
for how to proxy the WebSocket
- protocol.mod_proxy_http
using the ProxyPass
+ parameter upgrade.mod_proxy_http
to the origin server and the connection
+ will be upgraded (and tunneled by mod_proxy_http
) only if the origin
+ server accepts/initiates the upgrade (HTTP response 101 Switching Protocols
).
+ If the origin server responds with anything else mod_proxy_http
+ will continue forwarding (and enforcing) the HTTP protocol as usual for this
+ connection.mod_proxy_http
.ProxyWebsocketFallbackToProxyHttp
+ from 2.4.48 and later disables mod_proxy_http
handling), see the
+ documentation of mod_proxy_wstunnel
for how to proxy the WebSocket
+ protocol.
Description: | Serveur mandataire/passerelle multi-protocole |
---|---|
Statut: | Extension |
Identificateur de Module: | proxy_module |