Enforce HTTPS on Azure Web App
- Arlan Nugara
- May 7, 2023
- 1 min read
For this example, the Azure web app has:
a custom domain name Read here how to apply a custom domain to an Azure Web App.
is running in a Basic 1 Tier (first pricing level that supports SSL certificates)
has an SSL certificated applied and working correctly. Read here how to add an SSL certificate to Azure Web App.
Enforcing HTTPS will redirect the HTTP, so web app users will always end up at the HTTPS site. This will be done be defining a rewrite rule in the web.config file for the web app.
Comments