Manual:$wgInternalServer

Details
Internal server name as known to Varnish (or other CDN servers), if different from  . e.g.: