Translations:Manual:$wgCanonicalServer/7/en

You can often ignore this variable. However, if you have set $wgServer to a protocol-relative URL (for example, $example1) and you would like links to your wiki to use HTTPS, set this variable to the equivalent HTTPS URL (for example, $example2).