]> granicus.if.org Git - apache/commitdiff
build doc.
authorYann Ylavic <ylavic@apache.org>
Mon, 20 Feb 2017 08:38:58 +0000 (08:38 +0000)
committerYann Ylavic <ylavic@apache.org>
Mon, 20 Feb 2017 08:38:58 +0000 (08:38 +0000)
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1783723 13f79535-47bb-0310-9956-ffa450edef68

docs/manual/mod/mod_proxy_http2.html.en

index 8a266c00dde869787a055f0d404b1a99e7ce61cd..9238b7f7ca56cbc1afd0ca37c67f29f47d4358fa 100644 (file)
     backend connections for a reverse proxy. </p>
 
     <div class="example"><h3>HTTP/2 (TLS)</h3><pre class="prettyprint lang-config">ProxyPass "/app" "h2://app.example.com"
-ProxyPassReverse "/app" "h2://app.example.com"</pre>
+ProxyPassReverse "/app" "https://app.example.com"</pre>
 </div>
 
     <div class="example"><h3>HTTP/2 (cleartext)</h3><pre class="prettyprint lang-config">ProxyPass "/app" "h2c://app.example.com"
-ProxyPassReverse "/app" "h2c://app.example.com"</pre>
+ProxyPassReverse "/app" "http://app.example.com"</pre>
 </div>
+
+    <div class="note">
+      <p>The schemes to configure above in
+      <code class="directive">ProxyPassReverse</code> 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>
+    </div>
     </div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
 <div class="section">
 <h2><a name="notes" id="notes">Request notes</a></h2>