I have my .net core application. The http site is http://www.myfakesite.com:5000 But my https site is https://www.myfakesite.com:5001.
What I want is when I open the http site it will be re-directed to https site.
You see the port is also changed from 5000 to 5001.
I followed the steps, but I don't know how to modify the rule.