Manual:$wgHTTPProxy/en

Details
Proxy to use for CURL (or PHP fopen_url if CURL not available) requests, for example in side-uploads (uploads from an external URL).

If this setting is not set, MediaWiki may fallback to using the  environment variable if set.