httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cove...@apache.org
Subject svn commit: r1753712 - /httpd/httpd/trunk/docs/manual/mod/mod_proxy_http2.xml
Date Thu, 21 Jul 2016 16:43:21 GMT
Author: covener
Date: Thu Jul 21 16:43:21 2016
New Revision: 1753712

URL: http://svn.apache.org/viewvc?rev=1753712&view=rev
Log:
add basic h2: and h2c: backend proxy examples

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


Modified:
    httpd/httpd/trunk/docs/manual/mod/mod_proxy_http2.xml

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



Mime
View raw message