|
@@ -13,7 +13,7 @@ rpm -ivh *.rpm --force --nodeps
|
|
|
# 2.安装nginx
|
|
|
tar -zxvf nginx
|
|
|
cd nginx
|
|
|
-./configure
|
|
|
+./configure --with-http_ssl_module
|
|
|
make -j4 && make install
|
|
|
```
|
|
|
|
|
@@ -164,4 +164,8 @@ location ^~ /dist/mkcloud/ {
|
|
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
|
proxy_set_header X-NginX-Proxy true;
|
|
|
}
|
|
|
-```
|
|
|
+```
|
|
|
+
|
|
|
+# 5、nginx部署SSL,配置HTTPS访问
|
|
|
+
|
|
|
+[服务器生成ssl证书](https://blog.csdn.net/m0_37518406/article/details/79380534)
|