From: Yann Ylavic Date: Mon, 20 Feb 2017 08:46:34 +0000 (+0000) Subject: Merge r1783722, r1783723 from trunk: X-Git-Tag: 2.4.26~292 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5ee9045a0dd8abe400b86f9c5f4404ced9f491f5;p=apache Merge r1783722, r1783723 from trunk: Fix ProxyPassReverse schemes in mod_proxy_http2's doc (examples). build doc. git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/branches/2.4.x@1783726 13f79535-47bb-0310-9956-ffa450edef68 --- diff --git a/docs/manual/mod/mod_proxy_http2.html.en b/docs/manual/mod/mod_proxy_http2.html.en index 4181e165c0..339c44d74a 100644 --- a/docs/manual/mod/mod_proxy_http2.html.en +++ b/docs/manual/mod/mod_proxy_http2.html.en @@ -94,12 +94,20 @@ backend connections for a reverse proxy.

HTTP/2 (TLS)

ProxyPass "/app" "h2://app.example.com"
-ProxyPassReverse "/app" "h2://app.example.com"
+ProxyPassReverse "/app" "https://app.example.com"

HTTP/2 (cleartext)

ProxyPass "/app" "h2c://app.example.com"
-ProxyPassReverse "/app" "h2c://app.example.com"
+ProxyPassReverse "/app" "http://app.example.com"
+ +
+

The schemes to configure above in + ProxyPassReverse for reverse proxying + h2 (or h2c) protocols are the usual + https (resp. http) as expected/used by + the user agent.

+
top

Request notes

diff --git a/docs/manual/mod/mod_proxy_http2.xml b/docs/manual/mod/mod_proxy_http2.xml index a92f2ea458..5cf16dd64b 100644 --- a/docs/manual/mod/mod_proxy_http2.xml +++ b/docs/manual/mod/mod_proxy_http2.xml @@ -82,16 +82,24 @@ HTTP/2 (TLS) ProxyPass "/app" "h2://app.example.com" -ProxyPassReverse "/app" "h2://app.example.com" +ProxyPassReverse "/app" "https://app.example.com" HTTP/2 (cleartext) ProxyPass "/app" "h2c://app.example.com" -ProxyPassReverse "/app" "h2c://app.example.com" +ProxyPassReverse "/app" "http://app.example.com" + + +

The schemes to configure above in + ProxyPassReverse for reverse proxying + h2 (or h2c) protocols are the usual + https (resp. http) as expected/used by + the user agent.

+
Request notes