Skip to content

Instantly share code, notes, and snippets.

View encounter's full-sized avatar

Luke Street encounter

View GitHub Profile
@encounter
encounter / Nginx_1.11_Mainline_Cent_6_7_Static_OpenSSL_1.1.sh
Last active August 13, 2016 07:49 — forked from jiri-pejchal/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)
#!/bin/bash -e
if [ $UID -ne 0 ]; then
echo "Run as root." >&2
exit 1
fi
CENTVER=7
OPENSSL_VERSION=1.0.2h
NGINX_VERSION=1.11.3-1