]> git.ipfire.org Git - thirdparty/apache/httpd.git/commitdiff
Fix ProxyPassReverse schemes in mod_proxy_http2's doc (examples).
authorYann Ylavic <ylavic@apache.org>
Mon, 20 Feb 2017 08:38:16 +0000 (08:38 +0000)
committerYann Ylavic <ylavic@apache.org>
Mon, 20 Feb 2017 08:38:16 +0000 (08:38 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1783722 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/mod/mod_proxy_http2.xml

index a92f2ea458802415ac5068f5bf6e9ce4fb470948..5cf16dd64b31075c537224b5d0f4737a0e1fb0cb 100644 (file)
     <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>