openresty+SSL安装,openrestyssl安装
openresty+SSL安装,openrestyssl安装
1openresty说明
1.1软件列表
2安装
2.1pcre8.21
tar -xvf pcre8.21.tar.gz
./configure –prefix=/usr/local/pcre
make && make install
2.2zlib1.2.8
tar -xvf zlib1.2.8.tar.gz
./configure –prefix=/usr/local/zlib
2.3openssl-1.0.2
tar -xvf openssl-1.0.2.tar.gz
./config –prefix=/usr/local/openssl
2.4openresty
./configure –prefix=/home/app/ngxserver –with-http_realip_module –with-pcre –with-luajit –with-http_ssl_module –add-module=/home/app/openresty/ngx_cache_purge-2.3/ –add-module=/home/app/openresty/nginx_upstream_check_module-0.3.0/ –with-pcre=/home/app/openresty/pcre-8.21 –with-zlib=/home/app/openresty/zlib-1.2.8 –with-openssl=/home/app/openresty/openssl-1.0.2 -j2
make && make install
3测试
cd /home/app/ngxserver/nginx/sbin
./nginx
访问http://localhost/
显示welcome openresty
评论暂时关闭