I have an Angular 2 app that I only want to run on https. What is the best way to redirect addresses that use http to use https instead?
I have added a web.config to the Angular2 site which contains the below. Remember that this is for an IIS hosted application. All addresses are now redirected the https version.