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.