+3 votes
by (2.7k points)
reopened by
I would like to enable ALPN, for this I need to update OpenSSL version on Nginx. How can I update OpenSSL version?=

1 Answer

+4 votes
by (1.6k points)
 
Best answer

Run the command to add the correct repo and update the system/install the new nginx version:

For nginx mainline:

cd /etc/yum.repos.d && wget https://repo.codeit.guru/codeit.mainline.el`rpm -q --qf "%{VERSION}" $(rpm -q --whatprovides redhat-release)`.repo && yum update

For nginx stable:

cd /etc/yum.repos.d && wget https://repo.codeit.guru/codeit.el`rpm -q --qf "%{VERSION}" $(rpm -q --whatprovides redhat-release)`.repo && yum update

After you update nginx, openssl also is updated and you can use http/2.


statcounter statistics counter
...