Skip to content

Instantly share code, notes, and snippets.

@lethaldose
Last active August 15, 2016 13:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save lethaldose/70380fdeff5c10d384cfa2d0a8c01d55 to your computer and use it in GitHub Desktop.
Save lethaldose/70380fdeff5c10d384cfa2d0a8c01d55 to your computer and use it in GitHub Desktop.
## install openresty mac os x 10.11 with brew
brew install openssl
brew upgrade pcre
export KERNEL_BITS=64
cd openresty-1.9.7.3/
./configure --with-cc-opt='-I/usr/local/Cellar/pcre/8.39/include/ -I/usr/local/Cellar/openssl/1.0.2h_1/include/' \
--with-ld-opt='-L/usr/local/Cellar/pcre/8.39/lib -L/usr/local/Cellar/openssl/1.0.2h_1/lib' -j4
make && sudo make install
/usr/local/openresty/nginx/sbin/nginx -c /Users/atul/projects/optinidus/nginx.openresty.conf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment