PHPFixing
  • Privacy Policy
  • TOS
  • Ask Question
  • Contact Us
  • Home
  • PHP
  • Programming
  • SQL Injection
  • Web3.0

Friday, September 2, 2022

[FIXED] Why is my site not using http/2 while it is http/2 enabled

 September 02, 2022     http2, nginx, nginx-reverse-proxy     No comments   

Issue

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?


Solution

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.



Answered By - Peter de Bruijn
Answer Checked By - Senaida (PHPFixing Volunteer)
  • Share This:  
  •  Facebook
  •  Twitter
  •  Stumble
  •  Digg
Newer Post Older Post Home

0 Comments:

Post a Comment

Note: Only a member of this blog may post a comment.

Total Pageviews

Featured Post

Why Learn PHP Programming

Why Learn PHP Programming A widely-used open source scripting language PHP is one of the most popular programming languages in the world. It...

Subscribe To

Posts
Atom
Posts
Comments
Atom
Comments

Copyright © PHPFixing