Manual:$wgProto

Details
This value is set automatically when the value is determined for $wgServer if the server where the MediaWiki installation resides is a secure server.

Note that prior to 1.6.0 this setting was only used temporarily to create $wgServer, and was unset afterwards, but from 1.6.0 onwards it remains set throughout.