Linux里面安装Nginx,含ssl(https)配置详细步骤(亲测有用)

1 需求

在linxu 安装 nginx ,普通的安装,是不支持ssl 证书的,需要在安装nginx的时候,加一个模块openssl 模块

所以我们在安装nginx 的时候,先在linxu 上面安装 openssl

2 安装openssl

cd /usr/local/
wget https://www.openssl.org/source/openssl-1.0.10

猜你喜欢

转载自blog.csdn.net/python113/article/details/130030234