HTTPS redirection are quite common these days from security and SEO viewpoint. Today’s topic going to be about how to enable the redirection in Azure Functions.
Prerequisites
- Azure subscription
- Azure Function app
Solution
Step 1. Login to the Azure Portal.
Step 2. Type Function App
in the Search and click on the name of the Function App you want to configure HTTPS redirection.
Step 3. Under Settings, click Custom domains as shown below:
Step 4. Enable the HTTPS Only
feature by clicking on the Toggle switch as shown below:
Conclusion
As always, leave a comment below if you find it useful. On a side note, follow our official channel on Telegram.