Last active
August 15, 2016 13:20
-
-
Save lethaldose/70380fdeff5c10d384cfa2d0a8c01d55 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## 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