Manual:$wgCopyUploadProxy

Details
HTTP proxy to use for copy upload requests, or false to not use proxy for such requests.