I have the following code for attempting to redirect any http traffic to the equivalent https
http
https
// Add some redirect logic to ensure t