Manual:$wgLocalVirtualHosts

Details
This lists domains that are configured as virtual hosts on the same machine. It is expected that each domain can be identified by its hostname alone, without any ports.

This affects the following:


 * MWHttpRequest - If a request is to be made to a domain listed here, or any subdomain thereof, then will be used as a proxy (instead of ).  Command-line scripts are not affected by this setting and will always use the proxy if it is configured.