SSL configuration is handled upstream on Azure App Service.
So running an App Service as Docker container and configuring Nginx for server { listen 443 ssl h2; } is not necessary and in fact, will not render a webpage.
How do I modify the configuration on Azure App Service for Linux to run as http2 protocol when SSL w/ customer domain is setup on the service?
Thanks,
Per my experience, I don't think you need to do any special settings to support HTTP2 on Azure WebApps for Linux. Azure WebApps for Linux is a Docker container instance, and HTTP2 protocol is implemented noramlly as a library for programming language or directly supported by HTTP server. According to the implementations listed at http2 offical site, you just need to install the Nginx version 1.9.5+
which can support HTTP2 protocol. If you want to use, only enable it. Please refer to the blog from nginx offical site.
Hope it helps.
This feature now exists for both Linux and Windows and is in the same section of the Azure Portal for Web App Services.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With