Manual:$wgSquidPurgeUseHostHeader
Appearance
This feature was removed completely in version 1.42.0. |
HTTP proxy (CDN) settings: $wgSquidPurgeUseHostHeader | |
---|---|
Whether to use a Host header in purge requests sent to the proxy servers configured in $wgSquidServers. |
|
Introduced in version: | 1.21.0 (Gerrit change 27965; git #0771d643) |
Deprecated in version: | 1.33.0 (Gerrit change 468608; git #6c14dcfc) |
Removed in version: | 1.42.0 (Gerrit change 993153; git #c1043ec8) |
Allowed values: | (boolean) |
Default value: | true |
Other settings: Alphabetical | By function |
Set this to false to support Squid configured in forward-proxy mode.
If this is set to true, a Host header will be sent, and only the path component of the URL will appear on the request line, as if the request were a non-proxy HTTP 1.1 request. Varnish only supports this style of request. Squid supports this style of request only if reverse-proxy mode (http_port ... accel) is enabled.
If this is set to false, no Host header will be sent, and the absolute URL will be sent in the request line, as is the standard for an HTTP proxy request in both HTTP 1.0 and 1.1. This style of request is not supported by Varnish, but is supported by Squid in either configuration (forward or reverse).