Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Does Azure App Service for Linux support http2?

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,

like image 260
A. Wentzel Avatar asked Oct 20 '25 06:10

A. Wentzel


2 Answers

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.

like image 182
Peter Pan Avatar answered Oct 21 '25 21:10

Peter Pan


This feature now exists for both Linux and Windows and is in the same section of the Azure Portal for Web App Services.

  1. Go to your Web App Service
  2. Go to Settings
  3. Go to Configuration
  4. Select the tab for General Settings
  5. Beneath Platform Settings, choose the "2.0" from the Http version drop down.
  6. See image for details.

enter image description here

like image 25
A. Wentzel Avatar answered Oct 21 '25 20:10

A. Wentzel



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!