Jump to content

Manual:$wgLocalHTTPProxy

From mediawiki.org
HTTP client: $wgLocalHTTPProxy
Reverse proxy to use for requests to domains in $wgLocalVirtualHosts
Introduced in version:1.38.0 (Gerrit change 731757; git #352028a4)
Removed in version:Still in use
Allowed values:(string) or false
Default value:false
HTTP client: $wgLocalHTTPProxy
Proxy to use to requests to domains in $wgLocalVirtualHosts
Introduced in version:1.37.0 (Gerrit change 713896; git #5312ac54)
Removed in version:1.37.0 (Gerrit change 731158; git #856da723)
Allowed values:Unspecified
Default value:Unspecified

Details

[edit]
This variable was briefly introduced in 1.37 (added in gerrit:713896 and removed in gerrit:731158). It was correctly re-introduced in 1.38 (gerrit:728622).

Reverse proxy to use for requests to domains in $wgLocalVirtualHosts .

When used, any port in the request URL will be dropped. The behaviour of redirects and cookies is dependent upon the reverse proxy actually in use, as MediaWiki doesn't implement any special handling for them.

If set to false, no reverse proxy will be used for local requests.

See also

[edit]