JAVA码农2014 2017-11-29 13:51 采纳率: 100%
浏览 7793
已采纳

nginx配置SSL报错问题

在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的大神???

  • 写回答

2条回答 默认 最新

  • COCO_AS 2017-11-29 13:58
    关注
    --with-http_ssl_modul
    

    改成

    --with-http_ssl_module
    
    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(1条)

报告相同问题?

悬赏问题

  • ¥15 R语言Rstudio突然无法启动
  • ¥15 关于#matlab#的问题:提取2个图像的变量作为另外一个图像像元的移动量,计算新的位置创建新的图像并提取第二个图像的变量到新的图像
  • ¥15 改算法,照着压缩包里边,参考其他代码封装的格式 写到main函数里
  • ¥15 用windows做服务的同志有吗
  • ¥60 求一个简单的网页(标签-安全|关键词-上传)
  • ¥35 lstm时间序列共享单车预测,loss值优化,参数优化算法
  • ¥15 Python中的request,如何使用ssr节点,通过代理requests网页。本人在泰国,需要用大陆ip才能玩网页游戏,合法合规。
  • ¥100 为什么这个恒流源电路不能恒流?
  • ¥15 有偿求跨组件数据流路径图
  • ¥15 写一个方法checkPerson,入参实体类Person,出参布尔值