简体   繁体   中英

React application deployed on azure is not using Http2 even though Http2.0 is enabled for app service on azure

I have deployed my react application on Azure App Service with .NET Stack (.NET Core 3.1,2.1). I have enabled Http2.0 from Azure App Service > Configuration > General Settings and also from azure resource explorer . At both places it shows Http2.0 but browser still uses Http1.1. TLS Settings are Https only and TLS version 1.2

In front of the APP service WAF was enabled. And WAF was not supporting Http2.0

There is no problem with this function.

I reproduced your problem. You only need to open a new privacy mode window and refresh it a few times to see the new settings take effect.

This problem may be caused by browser cache, etc.

Test Result.

在此处输入图像描述

在此处输入图像描述

在此处输入图像描述

在此处输入图像描述

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM