I have a .net core 3.1 web api that I wrap in a docker image for release on heroku. As standard, I have enabled HTTPS and redirection from HTTP to HTTPS for my server. It works