How to Enable HTTP/2 Protocol with Nginx on Debian 8 Jessie Server
This tutorial will be showing you how to enable HTTP/2 protocol with Nginx on a Debian 8 server to speed up web page loading. There are 2 requirements.
- Nginx version 1.9.5 or above, built with OpenSSL 1.0.2
- HTTPS enabled
Let’s tackle these one by one.
Installing Nginx from Jessie Backports Repo
ALPN (Application Layer Protocol Negotiation) is a TLS extension that allows servers to negotiate HTTP/2 protocol with web browsers. Without ALPN, HTTP/2 connection can not be established, even if both web server and web browser support HTTP/2. The OpenSSL library supports ALPN stating with version 1.0.2.
Real full tutorial here: https://www.linuxbabe.com/debian/enable-http2-nginx-debian-8-jessie-server