server {
listen 443 ssl;
server_name www.xxxx.net;
ssl_certificate /etc/letsencrypt/live/www.xxxx.net/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/www.xxxx.net/privkey.pem;
ssl_ciphers "xxxxxxxx";
ssl_session_timeout 5m;
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
ssl_prefer_server_ciphers on;
ssl_session_cache shared:SSL:10m;
ssl_stapling on;
ssl_stapling_verify on;
}
使用的命令./nginx -t 检测的时候老是在 ssl 部分报错,去掉 ssl 就可以通过
是因为 nginx 缺少 ssl 模块吗?
但是我有执行过命令
./configure --with-http_stub_status_module --with-http_ssl_module --with-openssl=/usr/bin/openssl
请问是姿势没对吗....