wiki.techinc.nl/includes/http
Kunal Mehta cc241c2add Allow using a reverse proxy for local HTTP requests
$wgLocalHTTPProxy can be used to configure a reverse proxy
for requests to domains in $wgLocalVirtualHosts. The previous
implementation of using it as a proper HTTP proxy is no longer
supported and has been reverted out of REL1_37 (856da72363d1ba8bf).

It sets the hostname of the request as a "Host" header, scheme as
"X-Forwarded-Proto" and then sets the proxy's scheme, host and port as
those of the request.

Bug: T288848
Change-Id: Ibc3616f5ad925d464d937ab15461a88619c8b7a7
2021-10-15 10:56:46 -07:00
..
CurlHttpRequest.php Remove terminating line breaks from debug messages 2020-06-03 12:01:16 +10:00
GuzzleHttpRequest.php Use static closures where safe to use 2021-02-11 00:13:52 +00:00
Http.php Use HttpRequestFactory::createMultiClient() in core where possible 2020-06-02 10:51:43 +10:00
HttpRequestFactory.php http: Add $wgLocalHTTPProxy to set a proxy for local requests 2021-08-19 16:11:21 +00:00
MWCallbackStream.php Use @internal instead of @private per policy 2020-06-26 14:14:23 +02:00
MWHttpRequest.php Allow using a reverse proxy for local HTTP requests 2021-10-15 10:56:46 -07:00
MwHttpRequestToResponseInterfaceAdapter.php Using @return never documentation on always-throw-function 2021-09-07 17:29:03 +02:00
PhpHttpRequest.php Remove terminating line breaks from debug messages 2020-06-03 12:01:16 +10:00