Why is my site not using http/2 while it is http/2 enabled
Asked Answered
S

1

0

I have a NGINX reverse proxy in front of a website. The NGINX server is http2/ready. If I run a test, all seems good:

enter image description here

However, when I go to the website using a browser, chrome indicates the website is using http/1.1.

enter image description here I can't figure out why. Can anyone help?

Seavey answered 9/7, 2019 at 12:38 Comment(3)
Unsure if you changed something but I see h2 as the protocol for the requestsTeasley
Possible duplicate of why Chrome browser doesn't recognize my http2 server?Collocate
@Shawn C I didn't change a thing...Seavey
S
0

I found out why. I enabled the TLS 1.3 protocol on NGINX. Chrome 70 on Win10 handshaked to TLS 1.3 without http/2. As soon as I disabled TLS 1.3 the browser handshaked to TLS1.2 + https/2. The question, of course, is what is faster. I opted for the TLS1.2 + https/2 scenario.

Seavey answered 10/7, 2019 at 11:17 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.