Ningx SPDY is not enabled 求破 - V2EX
V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
XXOO
V2EX    NGINX

Ningx SPDY is not enabled 求破

  •  
  •   XXOO 2014-01-28 18:42:12 +08:00 3783 次点击
    这是一个创建于 4329 天前的主题,其中的信息可能已经有所发展或是发生改变。
    nginx: [warn] nginx was built without OpenSSL NPN support, SPDY is not enabled
    5 条回复    1970-01-01 08:00:00 +08:00
    XXOO
        2
    XXOO  
    OP
       2014-01-28 19:41:43 +08:00
    @dorentus 替换默认 nginx 是吗
    LazyZhu
        3
    LazyZhu  
       2014-01-28 19:43:32 +08:00
    OpenSSL 版本必须 1.0.1 以后,可以编译时指定 --with-openssl=
    dorentus
        4
    dorentus  
       2014-01-28 20:15:55 +08:00
    @XXOO
    其实是这样,如果你的 nginx 是自己编译的,那么如三楼所说,你可以自己下载新版本的 openssl 源码,然后在编译时指定 --with-openssl= [解压好的 openssl 源码目录] 来使用新版本的 openssl 编译。

    ----
    至于我上面贴的,是我自己静态编译的 nginx/1.5.9 + SPDY 3.1 patch + openssl-1.0.1f。
    两个分别是 x86_64 和 x86 的。
    目录设置使用了 debian 的惯例,debian 和 ubuntu 下应该是替换了你默认的 /usr/sbin/nginx 之后可以直接用的(不过用之前最好检查下有没有你需要的模块没有编译进去、其它 linux 用之前更要检查下它需要的目录有没有创建之类)。

    ----
    编译参数如下:
    nginx version: nginx/1.5.9
    built by clang 3.5-1 (trunk) (based on LLVM 3.5)
    TLS SNI support enabled
    configure arguments: --prefix=/usr/share/nginx --conf-path=/etc/nginx/nginx.conf --error-log-path=/var/log/nginx/error.log --http-client-body-temp-path=/var/lib/nginx/body --http-fastcgi-temp-path=/var/lib/nginx/fastcgi --http-log-path=/var/log/nginx/access.log --http-proxy-temp-path=/var/lib/nginx/proxy --http-scgi-temp-path=/var/lib/nginx/scgi --http-uwsgi-temp-path=/var/lib/nginx/uwsgi --lock-path=/var/lock/nginx.lock --pid-path=/run/nginx.pid --with-pcre-jit --with-debug --with-http_addition_module --with-http_dav_module --with-http_flv_module --with-http_geoip_module --with-http_gzip_static_module --with-http_mp4_module --with-http_random_index_module --with-http_realip_module --with-http_secure_link_module --with-http_spdy_module --with-http_stub_status_module --with-http_ssl_module --with-http_sub_module --with-ipv6 --with-mail --with-mail_ssl_module --add-module=../modules/headers-more-nginx-module --add-module=../modules/nginx-cache-purge --add-module=../modules/nginx-dav-ext-module --add-module=../modules/nginx-development-kit --add-module=../modules/nginx-echo --add-module=../modules/ngx-fancyindex --add-module=../modules/nginx-upload-progress --add-module=../modules/nginx-upstream-fair --add-module=../modules/ngx_http_substitutions_filte_module --with-cc=clang --with-cpp=clang++ --with-cc-opt=-Ofast --with-ld-opt=-static --with-openssl=../openssl-1.0.1f
    XXOO
        5
    XXOO  
    OP
       2014-01-28 21:33:40 +08:00
    @LazyZhu good ok了。谢谢
    关于     帮助文档     自助推广系统     博客     API     FAQ     Solana     886 人在线   最高记录 6679       Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 27ms UTC 19:44 PVG 03:44 LAX 11:44 JFK 14:44
    Do have faith in what you're doing.
    ubao msn snddm index pchome yahoo rakuten mypaper meadowduck bidyahoo youbao zxmzxm asda bnvcg cvbfg dfscv mmhjk xxddc yybgb zznbn ccubao uaitu acv GXCV ET GDG YH FG BCVB FJFH CBRE CBC GDG ET54 WRWR RWER WREW WRWER RWER SDG EW SF DSFSF fbbs ubao fhd dfg ewr dg df ewwr ewwr et ruyut utut dfg fgd gdfgt etg dfgt dfgd ert4 gd fgg wr 235 wer3 we vsdf sdf gdf ert xcv sdf rwer hfd dfg cvb rwf afb dfh jgh bmn lgh rty gfds cxv xcv xcs vdas fdf fgd cv sdf tert sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf sdf shasha9178 shasha9178 shasha9178 shasha9178 shasha9178 liflif2 liflif2 liflif2 liflif2 liflif2 liblib3 liblib3 liblib3 liblib3 liblib3 zhazha444 zhazha444 zhazha444 zhazha444 zhazha444 dende5 dende denden denden2 denden21 fenfen9 fenf619 fen619 fenfe9 fe619 sdf sdf sdf sdf sdf zhazh90 zhazh0 zhaa50 zha90 zh590 zho zhoz zhozh zhozho zhozho2 lislis lls95 lili95 lils5 liss9 sdf0ty987 sdft876 sdft9876 sdf09876 sd0t9876 sdf0ty98 sdf0976 sdf0ty986 sdf0ty96 sdf0t76 sdf0876 df0ty98 sf0t876 sd0ty76 sdy76 sdf76 sdf0t76 sdf0ty9 sdf0ty98 sdf0ty987 sdf0ty98 sdf6676 sdf876 sd876 sd876 sdf6 sdf6 sdf9876 sdf0t sdf06 sdf0ty9776 sdf0ty9776 sdf0ty76 sdf8876 sdf0t sd6 sdf06 s688876 sd688 sdf86