Manual:$wgUploadThumbnailRenderHttpCustomDomain/en

Details
When using the "http", lets one specify a custom domain to send the HTTP request to.