You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by co...@apache.org on 2016/07/21 16:43:41 UTC

svn commit: r1753713 - /httpd/httpd/branches/2.4.x/docs/manual/mod/mod_proxy_http2.xml

Author: covener
Date: Thu Jul 21 16:43:41 2016
New Revision: 1753713

URL: http://svn.apache.org/viewvc?rev=1753713&view=rev
Log:
Merge r1753712 from trunk:

add basic h2: and h2c: backend proxy examples

Submitted by: Hank Ibell <hwibell gmail.com>
Committed by: covener



Modified:
    httpd/httpd/branches/2.4.x/docs/manual/mod/mod_proxy_http2.xml

Modified: httpd/httpd/branches/2.4.x/docs/manual/mod/mod_proxy_http2.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/branches/2.4.x/docs/manual/mod/mod_proxy_http2.xml?rev=1753713&r1=1753712&r2=1753713&view=diff
==============================================================================
--- httpd/httpd/branches/2.4.x/docs/manual/mod/mod_proxy_http2.xml (original)
+++ httpd/httpd/branches/2.4.x/docs/manual/mod/mod_proxy_http2.xml Thu Jul 21 16:43:41 2016
@@ -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