nginx+openssl 搭建记录

2019-11-21  本文已影响0人  波波大人2018

<meta charset="utf-8">

nginx下载地址:http://nginx.org/en/download.html
上传到opt/soft目录

cd /opt/soft
tar -zxvf nginx-1.17.0.tar.gz
cd nginx-1.17.0
yum install -y gcc
yum install -y pcre pcre-devel
yum install -y zlib zlib-devel
yum install -y openssl openssl-devel

 ./configure --with-http_ssl_module --with-pcre --with-stream --with-stream_ssl_module --with-http_ssl_module --with-http_v2_module --with-threads

image
make && make install


生成ssl key教程
免费证书申请地址良心网站
http强制跳转https
ssl状态监测网址

上一篇 下一篇

猜你喜欢

热点阅读