]> granicus.if.org Git - apache/commitdiff
Merge r1753712 from trunk:
authorEric Covener <covener@apache.org>
Thu, 21 Jul 2016 16:43:41 +0000 (16:43 +0000)
committerEric Covener <covener@apache.org>
Thu, 21 Jul 2016 16:43:41 +0000 (16:43 +0000)
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

index eb3c4cf6a88bf4a3fec1063b17a636067a6494da..d6bcae9aa24e3bc0d5adac58ca9ad2daf0a52b7f 100644 (file)
 <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