Translations:Manual:$wgCookieSecure/5/en

If configured with the default value, $detect, the runtime value is calculated by looking at the protocol that the request came in under (or as defined in $Proto if pre version 1.18).