nginx
nginx
问题不大的
礼多人不怪
展开
-
nginx https 配置
1. 生成服务端私钥和证书 openssl genrsa –out server.key 2048 openssl req –new –key server.key –out server.csr openssl x509 –req –days 365 –in server.csr –signkey server.key –out server.crt 2. 配置nginx.conf server { listen 443 ssl; se原创 2021-09-28 16:25:03 · 154 阅读 · 0 评论 -
nginx 源码安装
平台: centos 1. 下载安装包 wget http://nginx.org/download/nginx-1.21.3.tar.gz 2. 解压 tar -xvfnginx-1.21.3.tar.gz 3. 配置 ../configure --sbin-path=/usr/local/nginx --conf-path=/usr/local/nginx/nginx.conf --pid-path=/usr/local/nginx/nginx.pid --with-http_ssl_mo.原创 2021-09-27 15:21:20 · 715 阅读 · 0 评论