一、安装依赖
yum -y install gcc gcc-c++ automake pcre pcre-devel zlib zlib-devel open openssl-devel
二、进入nginx,进行编译
cd nginx
./configure —with-http_ssl_module
//执行make命令
make
//执行make install命令
make instal
三、unknown directive “stream” in /usr/local/nginx
./configure —with-stream
make & make install
