Skip to content

Instantly share code, notes, and snippets.

@geekmuse
geekmuse / build_nginx.sh
Last active July 12, 2019 00:37 — forked from MattWilcox/build_nginx.sh
Fetch, build, and install the latest nginx with the latest OpenSSL for RaspberryPi with optional TLS1.3 support
#!/usr/bin/env bash
## names of latest versions of each package
VERSION_PCRE=pcre-8.43
VERSION_OPENSSL=OpenSSL_1_1_1c
VERSION_NGINX=nginx-1.17.1
SOURCE_PCRE=ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/
SOURCE_OPENSSL=https://www.openssl.org/source/
SOURCE_NGINX=http://nginx.org/download/