摘要:
1、下载 Nginx 安装源码 下载地址:https://nginx.org/en/download.html 2、解压安装包 tar zxvf nginx-1.27.3.tar.gz 3、编译安装nginx cd nginx-1.27.3 ./configure --prefix=/usr/loc 阅读全文
posted @ 2024-12-23 12:06
yhzou
阅读(53)
评论(0)
推荐(0)
摘要:
一、准备条件 1、安装Nginx,参考:Linux 离线安装Nginx 2、确认是否有 ngx_http_ssl_model 模块,参考:Nginx 安装 ngx_http_ssl_model 3、生成ssl证书,参考:自签名SSL证书生成 二、配置https cd /usr/local/nginx 阅读全文
posted @ 2024-12-23 11:41
yhzou
阅读(101)
评论(0)
推荐(0)
摘要:
1、生成顶级CA的公钥证书和私钥文件 ## 有效期15年(指定RSA2048bits, 默认RSA1024bits) openssl req -newkey rsa:2048 -x509 -days 5480 -keyout CARoot2048.key -out CARoot2048.crt 2、 阅读全文
posted @ 2024-12-23 11:20
yhzou
阅读(81)
评论(0)
推荐(0)
摘要:
1、下载Nginx 下载地址:https://nginx.org/en/download.html 2、解压Nginx安装包 tar zxvf nginx-1.27.3.tar.gz 3、进入解压目录,编译安装 Nginx cd nginx-1.27.3 ./configure --prefix=/ 阅读全文
posted @ 2024-12-23 11:06
yhzou
阅读(295)
评论(0)
推荐(0)

浙公网安备 33010602011771号