Apache HTTP Server Version 2.5

Available Languages: en
| Description: | HTTP/2 support module for
mod_proxy |
|---|---|
| Status: | Extension |
| Module Identifier: | proxy_http2_module |
| Source File: | mod_proxy_http2.c |
This module requires the service of mod_proxy. It provides the features used for
proxying HTTP/2 requests. mod_proxy_http2
supports HTTP/2 only. It does not
provide any downgrades to HTTP/1.1.
Thus, in order to get the ability of handling HTTP/2 proxy requests,
mod_proxy and mod_proxy_http2
have to be present in the server.
mod_proxy_http2 works with incoming requests
over HTTP/1.1 and HTTP/2 requests. In both cases, requests proxied
to the same backend are sent over a single connection
whenever possible (namely when the connection can be re-used).
mod_proxy_http2 will not use the HTTP/2 protocol
when the frontend requests use HTTP/1.1.
This means that HTTP/2 will be used to proxy requests to a capable backend
only when the frontend requests use the same protocol.
This module relies on libnghttp2 to provide the core http/2 engine.
This module is experimental. Its behaviors, directives, and defaults are subject to more change from release to release relative to other standard modules. Users are encouraged to consult the "CHANGES" file for potential updates.
Do not enable proxying until you have secured your server. Open proxy servers are dangerous both to your network and to the Internet at large.
This module provides no directives.
The examples below demonstrate how to configure HTTP/2 for backend connections for a reverse proxy.
ProxyPass "/app" "h2://app.example.com" ProxyPassReverse "/app" "h2://app.example.com"
ProxyPass "/app" "h2c://app.example.com" ProxyPassReverse "/app" "h2c://app.example.com"
mod_proxy_http creates the following request notes for
logging using the %{VARNAME}n format in
LogFormat or
ErrorLogFormat:
Available Languages: en