2016-05-16 95 views

回答

1

我会建议你在服务器端使用Caddy项目。 替代方案可以是GoQuic

两台服务器都应配置为通过QUIC(可能还包含视频)提供您自己的网页。只有在连接安全的情况下QUIC才有效,因此应该生成有效域的证书。在示例here中,为域www.example.org生成证书。如果要为https://localhost生成有效证书,则必须相应地更新生成证书的脚本。

在客户端使用Google Chrome的最新版本。从命令行运行Chrome,如下所示:

google-chrome \ 
    --user-data-dir=/tmp/chrome-profile \ 
    --no-proxy-server \ 
    --enable-quic \ 
    --origin-to-force-quic-on=localhost:443 \ 
    --host-resolver-rules='MAP localhost.org:443' \ 
    https://localhost