Manual:$wgLocalHTTPProxy

Details
Proxy to use to requests to domains in. If set to, no proxy will be used for local requests.