Manual:$wgUploadThumbnailRenderHttpCustomHost/ru

Details
When using the "http", lets one specify a custom Host HTTP header.