How force HTTP/2 ?

Hi,

I'm using FreeNginx and in my configuration i have

http2 on;

but when I make a vist on http://localhost/ it's http/1.1 that kick...

I've found^1

Firefox already has HTTP/2 AFAIK.
The entry is called network.http.spdy.enabled.http2 but it's set to "false" by default,

I don't have this in LibreWolf, I created it, to see if it does something, but it's still the HTTP/1.1 that is used.. Any ideas ?

Thanks.

6 points · 2 comments · view on lemmy.world

2 Comments

Malix@sopuli.xyz · 5 pts · 1y (1 reply)

Iirc http2 is with ssl only, you'll need to set nginx to offer the content over https

Rick_C137@programming.dev · 2 pts · 1y

Thanks @Malix@sopuli.xyz,

Actually, no HTTP/2 do not require SSL/TLS!

Although the standard itself does not require usage of encryption,[46] all major client implementations (Firefox,[47] Chrome, Safari, Opera, IE, Edge) have stated that they will only support HTTP/2 over TLS
source:https://en.wikipedia.org/wiki/HTTP/2#Encryption

it's Mozilla etc.. that force it !

WebPages hosted on the TOR Network (for example) do not need SSL/TLS certificates ! so what we can't have the benefit of HTTP/2 WTF

To the developers of LibreWolf, can you solve this limitation ?