Takes no parameters.
Description:
Single command to execute all the up-to-date logic required to ensure the page is visited from a secure connection, with consideration to the following input:
* Current protocol
* Config Value of AltProtocolInfo and incoming headers
* Config Value of RelayHttpsHost
* Server's configured HTTPS port
If the current connection is not secure, and if a secure connection is deemed possible, this command will apply a 302 Found response with a Location Header set according to the above considerations; it will then Exit the current Procedure.
Example:
Rem 'Initialization
HttpsEnsure
EndRem