V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX 提问指南
xiaoyu9527
V2EX  ›  问与答

哪个面板支持 HTTP/2

  •  
  •   xiaoyu9527 · 2016-03-22 11:31:51 +08:00 · 1412 次点击
    这是一个创建于 2966 天前的主题,其中的信息可能已经有所发展或是发生改变。

    自己配置琢磨了半天也没配置出来。

    有没有哪个面板支持呀。

    10 条回复    2016-03-22 19:01:28 +08:00
    ivmm
        1
    ivmm  
       2016-03-22 11:36:18 +08:00
    只要
    nginx 版本大于 1.9.4 还是几来着,
    httpd 版本大于 2.4.17
    Openlitespeed 版本大于 1.14

    即可,与面板无关
    xiaoyu9527
        2
    xiaoyu9527  
    OP
       2016-03-22 11:48:17 +08:00
    @ivmm 配置了几天 OPEN LITESPEED 。

    都配置不出来 网上也搜索不到详细的教程。。
    Jaylee
        3
    Jaylee  
       2016-03-22 11:57:58 +08:00
    面板是什么意思?
    ivmm
        4
    ivmm  
       2016-03-22 14:09:36 +08:00 via Android
    @xiaoyu9527 看看我的博客
    TONYHEAD
        5
    TONYHEAD  
       2016-03-22 15:14:14 +08:00   ❤️ 1
    amh ,自己升级到 nginx 1.9.12 就支持了 :doge:

    例子: https://www.tonyhead.com/
    qcloud
        6
    qcloud  
       2016-03-22 15:17:39 +08:00 via iPhone
    @TONYHEAD 不想自己升级咋办。。
    TONYHEAD
        7
    TONYHEAD  
       2016-03-22 16:26:24 +08:00   ❤️ 1
    @qcloud 怕麻烦是吧,我带你飞。


    AMH 4.2 Nginx 升级 HTTP/2 HTTP2 + Certificate Transparency

    假设你 ssh 后在 root 目录。

    下载 OpenSSL 补丁
    wget https://www.openssl.org/source/openssl-1.0.2g.tar.gz && tar -zxvf openssl-1.0.2g.tar.gz

    下载 Nginx CT
    wget https://github.com/grahamedgecombe/nginx-ct/archive/v1.2.0.tar.gz && tar -xzvf v1.2.0.tar.gz

    下载 Nginx 1.9.12
    wget http://nginx.org/download/nginx-1.9.12.tar.gz && tar -zxvf nginx-1.9.12.tar.gz


    进入 Nginx 1.9.12 目录开始安装

    cd nginx-1.9.12

    ./configure --prefix=/usr/local/nginx --user=www --group=www --with-http_ssl_module --with-http_gzip_static_module --without-mail_pop3_module --without-mail_imap_module --without-mail_smtp_module --without-http_uwsgi_module --without-http_scgi_module --with-http_ssl_module --with-http_flv_module --with-http_mp4_module --with-openssl=/root/openssl-1.0.2g --with-http_v2_module --with-ld-opt=-lrt --add-module=/root/nginx-ct-1.2.0 --with-http_stub_status_module

    make

    make install

    mv /usr/local/nginx/sbin/nginx /usr/local/nginx/sbin/nginx.old && cp objs/nginx /usr/local/nginx/sbin/nginx && make upgrade

    重启 Nginx 。

    搞定。
    qcloud
        8
    qcloud  
       2016-03-22 16:27:49 +08:00 via iPhone
    @TONYHEAD 哈哈,谢谢啦
    VmuTargh
        9
    VmuTargh  
       2016-03-22 16:29:41 +08:00 via Android   ❤️ 1
    @TONYHEAD 直接 libressl 就行了, opemssl 还要打 cloudflare 的 patch 太麻烦
    xiaoyu9527
        10
    xiaoyu9527  
    OP
       2016-03-22 19:01:28 +08:00
    @TONYHEAD 感谢。
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   1610 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 16:29 · PVG 00:29 · LAX 09:29 · JFK 12:29
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.