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.