From 02f92c3222518707181753077bc328ee22557470 Mon Sep 17 00:00:00 2001 From: Eric Covener <covener@apache.org> Date: Thu, 21 Jul 2016 16:43:41 +0000 Subject: [PATCH] Merge r1753712 from trunk: add basic h2: and h2c: backend proxy examples Submitted by: Hank Ibell <hwibell gmail.com> Committed by: covener git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1753713 13f79535-47bb-0310-9956-ffa450edef68 --- docs/manual/mod/mod_proxy_http2.xml | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) diff --git a/docs/manual/mod/mod_proxy_http2.xml b/docs/manual/mod/mod_proxy_http2.xml index eb3c4cf6a8..d6bcae9aa2 100644 --- a/docs/manual/mod/mod_proxy_http2.xml +++ b/docs/manual/mod/mod_proxy_http2.xml @@ -66,6 +66,26 @@ <seealso><module>mod_proxy</module></seealso> <seealso><module>mod_proxy_connect</module></seealso> + <section id="examples"><title>Basic Examples</title> + + <p>The examples below demonstrate how to configure HTTP/2 for + backend connections for a reverse proxy. </p> + + <example><title>HTTP/2 (TLS)</title> + <highlight language="config"> +ProxyPass "/app" "h2://app.example.com" +ProxyPassReverse "/app" "h2://app.example.com" + </highlight> + </example> + + <example><title>HTTP/2 (cleartext)</title> + <highlight language="config"> +ProxyPass "/app" "h2c://app.example.com" +ProxyPassReverse "/app" "h2c://app.example.com" + </highlight> + </example> + </section> <!-- /examples --> + <section id="notes"><title>Request notes</title> <p><module>mod_proxy_http</module> creates the following request notes for logging using the <code>%{VARNAME}n</code> format in -- 2.40.0