Http to Https redirect in web app
- https
- Web App
- HTTP
- httpsonly
How to get http to redirect to https in the web app.
Open appsettings.json in the root folder (not api or auth).
Add "httpsonly":true like in the below;

Restart the site.
Now when browsing to the http version it will be replaced with the https version.