Mac OSX 安装 nginx https
Mac OSX 安装 nginx https
安装openssl
Mac OSX 自带openssl,但是nginx找不到路径,所以使用brew连接一下,然后nginx就可以找到了
openssl version
brew install openssl
brew link openssl --force
openssl version
配置
./configure --prefix=/usr/local/nginx --with-http_ssl_module
编译
make
安装
sudo make install