Skip to content

Instantly share code, notes, and snippets.

View hgranillo's full-sized avatar

Horacio Granillo hgranillo

View GitHub Profile
@hgranillo
hgranillo / Nginx_1.10_STABLE_Cent_6_7_Static_OpenSSL_1.1.sh
Last active April 2, 2017 10:46 — forked from kennwhite/Nginx_1.11_Mainline_Cent_6_7_Static_OpenSSL_1.1.sh
RPM build Nginx 1.10.x with ALPN on CentOS 6/7 using static OpenSSL 1.1 (v 1.02+ required for http/2 support in Chrome)
# Based on CentOS7 fork of @smartmadsoft: https://gist.github.com/moneytoo/ab3f34e4fddc2110675952f8280f49c5
# "6" for CentOS6 or Amazon Linux, "7" for CentOS7
CENTVER="6"
OPENSSL="openssl-1.0.2h"
NGINX="nginx-1.10.1-1"
http://nginx.org/packages/centos/6/SRPMS/nginx-1.10.1-1.el6.ngx.src.rpm