How do i enable http/2 on nginx?
-
Also see: How do i check if my nginx installation was compiled with http/2?
Edit your /etc/nginx/sites-enables/<yoursite>.conf file or equivalent.
Ensure the entry with listen reads similar to, other options in the line may vary for you, for instance you might not use 443.
Add http/2 at the end of the listen line.
listen 443 default_server ssl http2;
© Lightnetics 2024