Commit 655580b7 authored by Eric Covener's avatar Eric Covener
Browse files

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
parent 73196dcd
Loading
Loading
Loading
Loading
+20 −0
Original line number Diff line number Diff line
@@ -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