
Forcing TLS (HTTPS) on Azure Web Apps for Linux with nginx
For many websites today TLS (fka SSL) is preferred. For Azure Web Apps, all sites automatically listen on both port 80 and 443 - for HTTP and HTTPS respectively.
If you want to force the site to be only HTTPS you might think that you can just detect the $scheme