You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by yl...@apache.org on 2017/02/20 08:38:17 UTC

svn commit: r1783722 - /httpd/httpd/trunk/docs/manual/mod/mod_proxy_http2.xml

Author: ylavic
Date: Mon Feb 20 08:38:16 2017
New Revision: 1783722

URL: http://svn.apache.org/viewvc?rev=1783722&view=rev
Log:
Fix ProxyPassReverse schemes in mod_proxy_http2's doc (examples).

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=1783722&r1=1783721&r2=1783722&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/mod/mod_proxy_http2.xml (original)
+++ httpd/httpd/trunk/docs/manual/mod/mod_proxy_http2.xml Mon Feb 20 08:38:16 2017
@@ -82,16 +82,24 @@
     <example><title>HTTP/2 (TLS)</title>
     <highlight language="config">
 ProxyPass "/app" "h2://app.example.com"
-ProxyPassReverse "/app" "h2://app.example.com"
+ProxyPassReverse "/app" "https://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"
+ProxyPassReverse "/app" "http://app.example.com"
     </highlight>
     </example>
+
+    <note>
+      <p>The schemes to configure above in
+      <directive>ProxyPassReverse</directive> for reverse proxying
+      <code>h2</code> (or <code>h2c</code>) protocols are the usual
+      <code>https</code> (resp. <code>http</code>) as expected/used by
+      the user agent.</p>
+    </note>
     </section> <!-- /examples -->
 
 <section id="notes"><title>Request notes</title>