Manual:$wgLocalVirtualHosts

Details
This affects the following:


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