Translations:Manual:$wgForceHTTPS/4/en

If this setting true, when an insecure HTTP request is received, always redirect to HTTPS. This overrides and disables the $preferhttps user preference, and it overrides $wgSecureLogin and the $CanIPUseHTTPS hook.