![](https://img-blog.csdnimg.cn/20201014180756925.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
https
C清晨的一缕阳光
乱世出英雄
展开
-
nginx 配置 https
默认情况下ssl模块并未被安装,如果要使用该模块则需要在编译nginx时指定–with-http_ssl_module参数.需求:做一个网站域名为 www.localhost.cn 要求通过https://www.localhost.cn进行访问.10.10.100.8 www.localhost.cn实验步骤:1.首先确保机器上安装了openssl和openssl-d转载 2017-08-28 17:20:25 · 1338 阅读 · 0 评论 -
Nginx配置https,加重定向强制跳转
一、Nginx安装(略)安装的时候需要注意加上 --with-http_ssl_module,因为http_ssl_module不属于Nginx的基本模块。Nginx安装方法:12# ./configure --user=www --group=www --prefix=/usr/local/nginx --with-http_stub_转载 2017-10-11 10:31:15 · 22817 阅读 · 1 评论