How to enable HTTP2 for AZURE App Gateway with WAF?

McFadden, Scott (GE Aviation, US) 46 Reputation points

Have some Windows Server 2019 with IIS vms running behind Azure App Gateway with WAF. Looking at the chrome network trace of the web apps running on those server, each http request is showing http 1.1.

I read here that Azure now supports HTTP2. What are the pre-requisites and steps for enabling HTTP/2 for my ASP.NET web apps running on Windows Server 2019 / IIS VMs behind Azure App Gateway with WAF?

Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
7,174 questions
0 comments No comments
{count} votes

3 answers

Sort by: Most helpful
  1. Adarsh Pandey 16 Reputation points

    Is there any update on upstream grpc or http/2 communication support for WAF. It is high demand now.

    3 people found this answer helpful.
    0 comments No comments

  2. SnehaAgrawal-MSFT 19,511 Reputation points

    Thanks for asking question! Yes, you are right HTTP/2 protocol support is available to clients that connect to application gateway listeners only. The communication to back-end server pools is over HTTP/1.1 But by default, HTTP/2 support is disabled and you need to select ‘enabled’ from portal or use below PowerShell command for this.

    $gw = Get-AzApplicationGateway -Name test -ResourceGroupName hm

    $gw.EnableHttp2 = $true

    Set-AzApplicationGateway -ApplicationGateway $gw

    You may also refer to below links for more details:

    1 person found this answer helpful.

  3. Oliver Dowler 1 Reputation point

    Is there any update to when HTTP2 upstream will be supported?
    Currently, it makes GRPC total incompatible unless you want to host GRPC alongside GRPC web.

    Is there a ticket we can follow related to its implementation?