diff options
author | Luca Toscano <elukey@apache.org> | 2018-06-23 13:14:17 +0000 |
---|---|---|
committer | Luca Toscano <elukey@apache.org> | 2018-06-23 13:14:17 +0000 |
commit | 98b7386272b1b4e20a0bcfc5ec47ec4b32ddc887 (patch) | |
tree | 8d024cacfdae7bd10fe8817b9060c3d054abf134 /docs/manual/mod/mod_proxy.html.en | |
parent | 4433199fc1e7ccfae7e919dd3ae6b2fe9e7780f8 (diff) | |
download | httpd-98b7386272b1b4e20a0bcfc5ec47ec4b32ddc887.tar.gz |
documentation rebuild
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@1834204 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'docs/manual/mod/mod_proxy.html.en')
-rw-r--r-- | docs/manual/mod/mod_proxy.html.en | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/docs/manual/mod/mod_proxy.html.en b/docs/manual/mod/mod_proxy.html.en index de3c66bd0a..a4aa39628a 100644 --- a/docs/manual/mod/mod_proxy.html.en +++ b/docs/manual/mod/mod_proxy.html.en @@ -1268,7 +1268,8 @@ ProxyPass "/mirror/foo" "http://backend.example.com"</pre> <td>Adjust the size of the proxy response field buffer. The buffer size should be at least the size of the largest expected header size from a proxied response. Setting the value to 0 will use the system - default of 8192 bytes. + default of 8192 bytes.<br /> + Available in Apache HTTP Server 2.4.34 and later. </td></tr> <tr><td>keepalive</td> <td>Off</td> @@ -1559,9 +1560,10 @@ ProxyPass "/" "balancer://mycluster/" stickysession=JSESSIONID|jsess environment variables will not exist when this interpolation happens, so you may still have to resort to <code class="module"><a href="../mod/mod_rewrite.html">mod_rewrite</a></code> for complex rules. Also note that interpolation is not supported - within the scheme portion of a URL. Dynamic determination of the - scheme can be accomplished with <code class="module"><a href="../mod/mod_rewrite.html">mod_rewrite</a></code> as in the - following example.</p> + within the scheme/hostname/port portion of a URL. Dynamic determination of + those fields can be accomplished with <code class="module"><a href="../mod/mod_rewrite.html">mod_rewrite</a></code>. + The following example describes how to use <code class="module"><a href="../mod/mod_rewrite.html">mod_rewrite</a></code> + to dynamically set the scheme to http or https:</p> <pre class="prettyprint lang-config">RewriteEngine On @@ -1621,7 +1623,12 @@ ProxyPassReverse "/mirror/foo/" "https://backend.example.com/"</pre> and causes them to substitute the value of an environment variable <code>varname</code> for the string <code>${varname}</code> in configuration directives if the <var>interpolate</var> option is set.</p> - <p>Keep this turned off (for server performance) unless you need it!</p> + <p>The scheme/hostname/port portion of <code class="directive">ProxyPass</code> cannot + contain variables, please consider using <code class="module"><a href="../mod/mod_rewrite.html">mod_rewrite</a></code> instead.</p> + <p>Keep this turned off (for server performance) unless you need it! + Adding variables to <code class="directive">ProxyPass</code> for example may lead to + using the default mod_proxy's workers configured (that don't allow any fine + tuning like connections reuse, etc..).</p> </div> <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div> |