How to get already installed NGINX to use OpenSSL 1.0.2 for ALPN?
I would like to use HTTP/2 and to fully use its capabilities, it needs ALPN (and not NPN). ALPN is bundled in OpenSSL 1.0.2, but NGINX doesn’t seem to use it. I have upgraded everything and currently I am at NGINX 1.10.0 and OpenSSL 1.0.2h.
As you can see in the screenshot above, OpenSSL 1.0.2h is indeed installed on the server as is the latest version of NGINX 1.10.0. OpenSSL was already at 1.0.2h when I upgraded from NGINX 1.9 to 1.10.
Any help to get NGINX to use OpenSSL 1.0.2 or how I can enable ALPN would be greatly appreciated.
PS I have no clue on how I could recompile NGINX. I’ve always simply used
apt-get install nginx.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.