Problem: nginx
After opening http2
, the access is still http1.1
nginx
Configuration related:
listen 443 ssl http2;
Configuration during installation:
configure arguments: --prefix=/usr/local/nginx --with-http_ssl_module --with-ipv6 --with-http_v2_module
There is no error reported in the error log.
nginx -t
Test command results:
nginx: the configuration file /usr/local/nginx/conf/nginx.conf syntax is ok
nginx: configuration file /usr/local/nginx/conf/nginx.conf test is successful
Solve your doubts.
Is it Chrome?
Chrome has dropped support for NPN in recent updates. If you want to continue to support HTTP/2 on Chrome, you need to install the latest 1.0.2 version of OpenSSL and recompile Nginx with 1.0.2 OpenSSL.
Reference:
Roll back to HTTP/1.1 in the new version of Chrome
Supporting HTTP/2 for Google Chrome Users