Skip to content

Instantly share code, notes, and snippets.

#!/usr/bin/env python3
import os
import sys
# import bz2
from datetime import datetime
# from hashlib import blake2b
BYTE_COUNT = 1000
BASE_TIME = 60 # in seconds
$ ./bin/build-nginx.sh
Mac OS 10.11.6
Xcode 7.3.1
Nginx 1.15.12
OpenSSL 1.1.1b
+ mkdir nginx
+ pushd nginx
~/wrty/rick/nginx ~/wrty/rick
+ wait
@jay-ouellette
jay-ouellette / build-nginx.sh
Last active May 16, 2019 14:30
Build Nginx with OpenSSL from source
#!/usr/bin/env bash
openssl_version='1.1.1b'
openssl_tgz="openssl-${openssl_version}.tar.gz"
openssl_src_dir="openssl-${openssl_version}/"
nginx_version='1.15.12'
nginx_tgz="nginx-${nginx_version}.tar.gz"
nginx_src_dir="nginx-${nginx_version}/"