Manual:$wgUploadBaseUrl/cs

Details
This can be used to set the server to use with if it is not the current server. However most people just put the full url in instead.

If set, this string is added to the start of to form a complete upload URL.