在nginx.conf文件中配置443端口
server{
listen 443 ssl;
server_name javaweb.ourtool.cn;
# ssl on;
ssl_certificate cert/214345150860079.pem;
ssl_certificate_key cert/214345150860079.key;
ssl_session_timeout 5m;
ssl_ciphers ECDHE-RSA-AES128-GCM-SHA256:ECDHE:ECDH:AES:HIGH:!NULL:!aNULL:!MD5:!ADH:!RC4;
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
ssl_prefer_server_ciphers on;
location / {
proxy_pass http://127.0.0.1:9090;
}
}
启动报错(错误信息:nginx: [emerg] the "ssl" parameter requires ngx_http_ssl_module in /home/soft/nginx/conf/nginx.conf:76)
按照网上的教程安装--with-http_ssl_modul
报错信息:./configure: error: invalid option "--with-http_ssl_modul"
然后就找不到决解方案了,有没有懂nginx的大神???