Skip to content

Instantly share code, notes, and snippets.

@jiri-pejchal
jiri-pejchal / Nginx_1.11_Mainline_Cent_6_7_Static_OpenSSL_1.1.sh
Last active August 13, 2016 07:33 — forked from kennwhite/Nginx_1.11_Mainline_Cent_6_7_Static_OpenSSL_1.1.sh
RPM build Nginx 1.11.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_VERSION=1.0.2h
NGINX_VERSION=1.11.1-1
# epel repo required for GeoIP-devel