Remediation
From Azure Portalโ
- Log in to the Azure portal using https://portal.azure.com.
- Go to
App Services. - Select each app.
- Under
Settings, selectConfiguration. - Set
HTTP versionto2.0underGeneral settings.
Note: Most modern browsers support HTTP 2.0 over TLS only, while non-encrypted traffic continues to use HTTP 1.1. To ensure that client browsers connect to your app with HTTP/2, either buy an App Service Certificate for your app's custom domain or bind a third-party certificate.
From Azure CLIโ
To set HTTP 2.0 version for an existing app, run the following command:
az webapp config set \
--resource-group {{resource-group-name}} \
--name {{app-name}} \
--http20-enabled true
From PowerShellโ
To enable HTTP 2.0 version support, run the following command:
Set-AzWebApp `
-ResourceGroupName {{resource-group-name}} `
-Name {{app-name}} `
-Http20Enabled $true