My goal is to create an Azure Web App for Containers, map a custom domain to it and secure this domain with an SSL certificate from Let's Encrypt which is automatically renewed every month.
So far I have successfully configured a docker-compose for the web app:
- Nginx which handles Let's Encrypt certificate renewals and https redirections
- Web App to which Nginx proxies to
Also, I successfully mapped my domain to the Azure Web App.
But there is a problem. It seems Azure is applying some certificates on its own. When I want to use the Web App from my browser, the certificate for *.azurewebsites.net
is served:
Can I somehow disable SSL for the Azure Web App for Containers so that my Nginx proxy is responsible for this or use Let's Encrypt in some other way? I know that for the Windows-Based Web Apps there is a Let's Encrypt extension, but there is no one for Azure Web App for Containers.