question

McFaddenScottGEAviationUS-7943 avatar image
0 Votes"
McFaddenScottGEAviationUS-7943 asked ·

How to enable HTTP2 for AZURE App Gateway with WAF?

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-webapps
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

1 Answer

SnehaAgrawal-MSFT avatar image
1 Vote"
SnehaAgrawal-MSFT answered ·

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:

https://docs.microsoft.com/en-us/azure/application-gateway/configuration-overview#additional-protocol-support

https://docs.microsoft.com/en-us/azure/web-application-firewall/ag/application-gateway-web-application-firewall-portal

· 1 · Share
10 |1000 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Are there any plans to add HTTP/2 support for the entire WAF pipeline (client->waf, waf->backendpool)?

1 Vote 1 · ·