We want ALL sites on our webserver (IIS 10) to enforce SSL (ie redirect HTTP to HTTPS).
We are currently 'Requiring SSL' on each site and setting up a 403 error
handler to perform a 302 redirect
to the https address for that specific site.
This works great. But it's a pain to do for every single site, there's plenty of room for human error.
Ideally I'd like to set up a permanent 301 redirect
on all HTTP://*
to HTTPS://*
Is there a simple way to do this in IIS ?