Check for SERVER HTTPS first.