{"id":662,"date":"2021-01-27T16:21:01","date_gmt":"2021-01-27T08:21:01","guid":{"rendered":"https:\/\/cloudbool.com\/archive\/?p=662"},"modified":"2021-01-27T16:21:01","modified_gmt":"2021-01-27T08:21:01","slug":"nginx-quic-http3-tlsv1-3","status":"publish","type":"post","link":"https:\/\/cloudbool.com\/archive\/nginx-quic-http3-tlsv1-3.html","title":{"rendered":"\u5229\u7528Nginx-Quic\u91cd\u65b0\u7f16\u8bd1Nginx\u652f\u6301HTTP3+TLSv1.3"},"content":{"rendered":"\n<p>\u5176\u5b9e\u6211\u8fd9\u5c0f\u535a\u5ba2\u65e9\u57282020\u5e74\u521d\u5c31\u5f00\u542f\u4e86HTTP3\u7684\u652f\u6301\uff0c\u5f53\u65f6\u7684Nginx\u7248\u672c\u662fNginx 1.16.1\uff0c\u662f\u5229\u7528\u7684Cloudflare\u7684quiche\u9879\u76ee\uff0c\u524d\u60c5\u63d0\u8981\uff1a<a href=\"https:\/\/cloudbool.com\/archive\/nginx-http3.html\" data-type=\"URL\" data-id=\"https:\/\/cloudbool.com\/archive\/nginx-http3.html\" target=\"_blank\" rel=\"noreferrer noopener\">Nginx\u542f\u7528HTTP3<\/a>\u3002\u53ef\u80fd\u662fHTTP3\u7684\u8349\u6848\u6709\u65b0\u7248\u672c\uff0c\u518d\u52a0\u4e0a\u6d4f\u89c8\u5668\u7684\u5347\u7ea7\uff0c\u5230\u76ee\u524d\u4e3a\u6b62\u5df2\u7ecf\u5dee\u4e0d\u591a\u8fc7\u4e86\u4e00\u5e74\uff0c\u770b\u7f51\u7ad9\u7edf\u8ba1\u6570\u636e\u5f88\u591a\u670b\u53cb\u90fd\u662f\u901a\u8fc7\u641c\u7d22\u5f15\u64ce\u641c\u7d22&#8217;Nginx HTTP3&#8217;\u6765\u5230\u6211\u8fd9\u5c0f\u535a\u5ba2\uff0c\u518d\u52a0\u4e0aNginx\u7684nginx-quic\u9879\u76ee\uff0c\u6240\u4ee5\u6253\u7b97\u66f4\u65b0\u4e00\u4e0bNginx\u4ee5\u652f\u6301\u66f4\u9ad8\u7684HTTP3\u8349\u6848\u7248\u672c\u3002<\/p>\n\n\n<!--more-->\n\n\n<h1 class=\"wp-block-heading\">\u524d\u6392\u63d0\u793a<\/h1>\n\n\n<p>\u8fd9\u4e2a\u7248\u672c\u6211\u7528\u4e86\u5927\u6982\u4e24\u4e2a\u6708\u4e4b\u540e\u53d1\u73b0\uff0c\u5b58\u5728\u4e0d\u660e\u539f\u56e0\u7684bug\uff0c\u5176\u4e2d\u4e00\u4e2a\u8868\u73b0\u5c31\u662f\u5f00\u542fHTTP3\u534f\u8bae\u4e4b\u540e\u4f1a\u5bfc\u81f4WordPress\u65e0\u6cd5\u767b\u5f55\uff0c\u4f1a\u63d0\u793a\u201c\u7528\u6237\u540d\/\u5bc6\u7801\u4e3a\u7a7a\u201d\u4e00\u76f4\u5361\u5728\u767b\u5f55\u754c\u9762\uff0c<strong>\u5efa\u8bae\u4e0d\u8981\u5c06\u8fd9\u4e2a\u7248\u672c\u90e8\u7f72\u5230\u6b63\u5f0f\u73af\u5883\uff0c\u4ee5\u514d\u9020\u6210\u635f\u5931\u3002<\/strong><\/p>\n\n\n<h1 class=\"wp-block-heading\">HTTP3\u534f\u8bae<\/h1>\n\n\n<p>HTTP3\u662fHTTP2\u7684\u5347\u7ea7\u7248\uff0c\u662f\u5728Google\u7684QUIC\u534f\u8bae\u884d\u751f\u800c\u6765\uff0c\u5230\u76ee\u524d\u4e3a\u6b62\uff082021\u5e741\u6708\uff09\uff0cHTTP3\u8fd8\u6ca1\u6709\u63a8\u51fa\u6b63\u5f0f\u7248\u672c\uff0c\u53ea\u662f\u63a8\u51fa\u4e86\u4e00\u7cfb\u5217\u8349\u6848\uff0c\u76ee\u524d\uff082021\u5e741\u6708\uff09\uff0c\u636e\u6211\u6240\u77e5\u7684\uff0c\u7528\u7684\u6700\u591a\u7684\u8fd8\u662fHTTP3 Draft 29\uff0c\u5305\u62ecGoogle\u672c\u8eab\u4e00\u4e9b\u670d\u52a1\uff0cChrome\u6d4f\u89c8\u5668\u6700\u65b0\u768488.0.4324.96\u6b63\u5f0f\u7248\u5728\u6211\u672c\u5730\u663e\u793a\u7684\u90fd\u662fh3-29\uff0c\u6211\u672c\u6765\u60f3\u67e5\u8be2\u5404\u4e2a\u7248\u672c\u7684Chrome\u5bf9HTTP3\u7684\u652f\u6301\u662f\u600e\u6837\u7684\u4f46\u662f\u6362\u4e86\u51e0\u4e2a\u5173\u952e\u5b57\u4e5f\u8fd8\u662f\u6ca1\u6709\u627e\u5230Google\u5b98\u65b9\u76f8\u5173\u6587\u6863\uff0c\u5982\u679c\u6709\u670b\u53cb\u770b\u5230\u4e86\u8fd9\u91cc\uff0c\u770b\u5230\u4e86Google\u5173\u4e8eChrome\u5bf9HTTP3\u7684\u7248\u672c\u652f\u6301\u6587\u6863\uff0c\u6b22\u8fce\u544a\u77e5\u6211\u4e00\u4e0b\u3002<\/p>\n\n\n<h1 class=\"wp-block-heading\">Nginx-Quic\u9879\u76ee<\/h1>\n\n\n<p>Nginx-Quic\u9879\u76ee\u662fNginx\u5b98\u65b9\u63a8\u51fa\u7684\uff0c\u8ddf\u4e0a\u9762\u8bf4\u7684Cloudflare\u7684quiche\u6ca1\u6709\u5173\u7cfb\uff0c\u53ea\u662f\u5728Nginx\u7684\u4e3b\u7ebf\uff08mainline\uff09\u7248\u672c\u7684\u57fa\u7840\u4e0a\u63a8\u51fa\u7684\u5b9e\u9a8c\u6027\u8d28\u7684\u9879\u76ee\uff0c\u6839\u636eNginx\u5b98\u65b9\u6587\u6863\u7684\u8bf4\u6cd5\uff0c\u8fd9\u9879\u76ee\u662fquic\u7684\u5206\u652f\uff0c\u76ee\u524dNginx\u7684\u7248\u672c\u4e3a\u6700\u65b0\u7684Nginx 1.19.6\uff0c\u4ee5\u540e\u53ef\u80fd\u4f1a\u5c06HTTP3\u76f8\u5173\u529f\u80fd\u5408\u5e76\u8fdb\u4e3b\u7ebf\u3002\u6b63\u56e0\u4e3a\u662f\u5b9e\u9a8c\u6027\u8d28\u9879\u76ee\uff0c\u6240\u4ee5\u5b98\u65b9\u4e5f\u4e0d\u63a8\u8350\u5728\u6b63\u5f0f\u73af\u5883\u4f7f\u7528\uff0c\u4f46\u662f\u6211\u4e00\u4e2a\u5c0f\u535a\u5ba2\uff0c\u6015\u5565\uff0c\u4e0d\u5dee\u8fd9\u4e00\u56de\u5f53\u5c0f\u767d\u9f20\u4e86\uff0c\u6bd5\u7adf\u6298\u817e\u7684\u8fc7\u7a0b\u624d\u662f\u6700\u6709\u610f\u601d\u7684\u3002<\/p>\n\n\n<p>Nginx-Quic\u9879\u76ee\u5730\u5740\uff1a<\/p>\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p>https:\/\/quic.nginx.org\/<\/p><\/blockquote>\n\n\n<h1 class=\"wp-block-heading\">\u7f16\u8bd1\u73af\u5883\u53ca\u76f8\u5173\u8bf4\u660e<\/h1>\n\n\n<p>\u5176\u5b9e\u5404\u4e2a\u7cfb\u7edf\u7f16\u8bd1\u8fc7\u7a0b\u90fd\u5dee\u4e0d\u591a\uff0c\u6211\u4e2a\u4eba\u66f4\u559c\u6b22Debian10\u4ee5\u53ca\u6211\u624b\u4e0a\u7684\u670d\u52a1\u5668\u90fd\u662f\u5b89\u88c5\u7684Debian10\u7cfb\u7edf\uff0c\u6240\u4ee5\u6211\u9009\u62e9\u4e86\u5728\u7eaf\u51c0\u7684Debian10\u7cfb\u7edf\u4e0b\u6765\u7f16\u8bd1\u8fd9\u4e2a\u9879\u76ee\uff0cCentOS\u6216\u8005Ubuntu\u90fd\u53ef\u4ee5\u7684\u3002<\/p>\n\n\n<p>\u56e0\u4e3a\u6d89\u53ca\u5230\u4ece\u6e90\u4ee3\u7801\u7f16\u8bd1\uff0c\u7f16\u8bd1\u4e4b\u524d\u9700\u8981\u5b89\u88c5\u4e00\u5927\u5806\u7684\u4f9d\u8d56\u4ee5\u53ca\u7f16\u8bd1\u73af\u5883\u7a0b\u5e8f\uff0c\u6211\u4e2a\u4eba\u662f\u5efa\u8bae\u4f7f\u7528\u72ec\u7acb\u7684\u73af\u5883\u6765\u7f16\u8bd1\uff0c\u65b0\u5efa\u4e00\u4e2a\u865a\u62df\u673a\u6216\u8005\u4f7f\u7528\u4e00\u4e9b\u6309\u91cf\u8ba1\u8d39\u7684\u4e91\u670d\u52a1\u90fd\u884c\uff0c\u6309\u91cf\u8ba1\u8d39\u7684<a rel=\"noreferrer noopener\" href=\"https:\/\/u.cloudbool.com\/vultr\" data-type=\"URL\" data-id=\"https:\/\/u.cloudbool.com\/vultr\" target=\"_blank\">Vultr<\/a>\u6216\u8005\u56fd\u5185\u7684<a rel=\"noreferrer noopener\" href=\"https:\/\/u.cloudbool.com\/tencent-cloud-lighthouse\" data-type=\"URL\" data-id=\"https:\/\/u.cloudbool.com\/tencent-cloud-lighthouse\" target=\"_blank\">\u817e\u8baf\u4e91<\/a>\u90fd\u53ef\u4ee5\uff0c\u56e0\u4e3a\u6d89\u53ca\u5230BoringSSL\u53caNginx\u7684\u7f16\u8bd1\uff0c\u5efa\u8bae\u5185\u5b58\u4e0d\u8981\u5c11\u4e8e2G\u3002<\/p>\n\n\n<h1 class=\"wp-block-heading\">\u5b89\u88c5\u7f16\u8bd1\u9700\u8981\u7684\u8f6f\u4ef6<\/h1>\n\n\n<p>Nginx\u7684HTTP3\u4f9d\u8d56BoringSSL\u6216\u8005OpenSSL\uff0c\u6240\u4ee5\u5b89\u88c5\u7f16\u8bd1\u73af\u5883\u7684\u65f6\u5019\u4e00\u5e76\u628a\u7f16\u8bd1BoringSSL\u6240\u9700\u8981\u7684\u4f9d\u8d56\u4e5f\u5b89\u88c5\u4e0a\uff1a<\/p>\n\n\n<pre class=\"wp-block-code\"><code>apt install build-essential ca-certificates zlib1g-dev libpcre3 libpcre3-dev tar unzip libssl-dev wget curl git cmake ninja-build golang <\/code><\/pre>\n\n\n<p>\u4e3a\u4e86\u65b9\u4fbf\uff0c\u6211\u8fd9\u91cc\u9009\u62e9\u5728<strong>~<\/strong>\u4e0b\u9762\u653e\u7f6e\u6e90\u4ee3\u7801\uff0c\u6240\u6709\u7684\u4ee3\u7801\u4fdd\u5b58\u53ca\u7f16\u8bd1\u5de5\u4f5c\u90fd\u5728\u8fd9\u4e2a\u76ee\u5f55\u4e0b\u9762\u8fdb\u884c\uff0c\u4e0b\u9762\u5f00\u59cb\u662f\u7f16\u8bd1\u8fc7\u7a0b\u3002<\/p>\n\n\n<h1 class=\"wp-block-heading\">\u83b7\u53d6\u5e76\u7f16\u8bd1BoringSSL<\/h1>\n\n\n<p>\u636eNginx\u7684\u6587\u6863\uff0cNginx\u5b98\u65b9\u8bf4\u7684\u662f\u4f7f\u7528BoringSSL\uff0c\u5bf9\u4e8eBoringSSL\u6211\u4e5f\u4e0d\u719f\u6089\uff0c\u5c31\u4e0d\u591a\u8d58\u8ff0\u4e86\uff0c\u76f4\u63a5\u4e0a\u76f8\u5173\u547d\u4ee4\uff1a<\/p>\n\n\n<pre class=\"wp-block-code\"><code>git clone --depth=1 https:\/\/github.com\/google\/boringssl.git\ncd boringssl\nmkdir build\ncd build\ncmake -GNinja ..\nninja\ncd ..\/..\nmkdir -p boringssl\/.openssl\/lib\ncp boringssl\/build\/crypto\/libcrypto.a boringssl\/build\/ssl\/libssl.a boringssl\/.openssl\/lib\ncd boringssl\/.openssl\nln -s ..\/include .\ncd ..\/..<\/code><\/pre>\n\n\n<p>\u5982\u679c\u547d\u4ee4\u6267\u884c\u8fc7\u7a0b\u6ca1\u6709\u62a5\u9519\uff0c\u8bf4\u660eBoringSSL\u6b63\u786e\u7f16\u8bd1\u901a\u8fc7\u4e86\u3002<\/p>\n\n\n<h1 class=\"wp-block-heading\">\u83b7\u53d6Nginx\u6e90\u4ee3\u7801\u5e76\u7f16\u8bd1<\/h1>\n\n\n<p>\u4e3a\u4e86\u65b9\u4fbf\u83b7\u53d6Nginx\u7684\u7f16\u8bd1\u53c2\u6570\u4ee5\u53ca\u5229\u7528\u7cfb\u7edf\u547d\u4ee4\u7ba1\u7406Nginx\uff0c\u6700\u597d\u8fd8\u662f\u5b89\u88c5\u4e00\u4e0bNginx\uff0c\u5982\u679c\u5bf9\u7cfb\u7edf\u719f\u6089\uff0c\u4e0d\u5b89\u88c5\u4e5f\u53ef\u4ee5\uff0c\u547d\u4ee4\u5982\u4e0b\uff1a<\/p>\n\n\n<pre class=\"wp-block-code\"><code>apt update\napt upgrade\napt install curl gnupg2 ca-certificates lsb-release\necho \"deb http:\/\/nginx.org\/packages\/mainline\/debian `lsb_release -cs` nginx\"     | tee \/etc\/apt\/sources.list.d\/nginx.list\necho \"deb-src http:\/\/nginx.org\/packages\/mainline\/debian `lsb_release -cs` nginx\"     | tee \/etc\/apt\/sources.list.d\/nginx.list\ncurl -fsSL https:\/\/nginx.org\/keys\/nginx_signing.key | apt-key add -\napt install nginx<\/code><\/pre>\n\n\n<p>Nginx-Quic\u7684\u6e90\u4ee3\u7801\u83b7\u53d6\u7a0d\u5fae\u9ebb\u70e6\u4e00\u70b9\uff0c\u5e76\u4e0d\u662f\u7528\u7684git\u6765\u83b7\u53d6\uff0c\u7528\u7684\u662f\u53e6\u4e00\u79cd\u6e90\u4ee3\u7801\u7248\u672c\u63a7\u5236\u8f6f\u4ef6\uff0c\u5b89\u88c5hg\u53ca\u83b7\u53d6Nginx\u6e90\u7801\u547d\u4ee4\u5982\u4e0b\uff1a<\/p>\n\n\n<pre class=\"wp-block-preformatted\">apt install hgsubversion\nhg clone -b quic https:\/\/hg.nginx.org\/nginx-quic<\/pre>\n\n\n<p>\u9664\u4e86BoringSSL\u672c\u8eab\uff0cNginx\u672c\u8eab\u8fd8\u4f9d\u8d56\u90e8\u5206\u522b\u7684\u7ec4\u4ef6\uff0c\u4e3a\u4e86\u65b9\u4fbf\uff0c\u53ef\u4ee5\u4f7f\u7528\u7cfb\u7edf\u81ea\u5e26\u7684\u547d\u4ee4\u6765\u5e2e\u6211\u4eec\u5b89\u88c5\u8fd9\u4e9b\u4f9d\u8d56\uff0cNginx\u7f16\u8bd1\u4f9d\u8d56\u5b89\u88c5\u547d\u4ee4\u5982\u4e0b\uff1a<\/p>\n\n\n<pre class=\"wp-block-code\"><code>apt-get build-dep nginx<\/code><\/pre>\n\n\n<p>\u81ea\u5df1\u786e\u5b9aNginx\u7684\u7f16\u8bd1\u53c2\u6570\u6216\u8005\u901a\u8fc7\u5982\u4e0b\u547d\u4ee4\u83b7\u53d6Nginx\u7684\u7f16\u8bd1\u53c2\u6570\uff1a<\/p>\n\n\n<pre class=\"wp-block-code\"><code>nginx -V<\/code><\/pre>\n\n\n<p>\u7136\u540e\u62fc\u63a5HTTP3\u76f8\u5173\u7f16\u8bd1\u53c2\u6570\uff1a<\/p>\n\n\n<pre class=\"wp-block-code\"><code>--with-http_v3_module --with-http_quic_module --with-stream_quic_module --with-cc-opt=\"-I..\/boringssl\/include\" --with-ld-opt=\"-L..\/boringssl\/build\/ssl -L..\/boringssl\/build\/crypto\" <\/code><\/pre>\n\n\n<p>\u4e0a\u9762\u7684\u7f16\u8bd1\u53c2\u6570\u53ef\u4ee5\u6839\u636e\u81ea\u5df1\u7684\u9700\u6c42\u589e\u52a0\u6216\u8005\u51cf\u5c11\uff0c\u9700\u8981\u6ce8\u610f\u7684\u662fBoringSSL\u7684\u8def\u5f84\u4e0d\u80fd\u51fa\u9519\uff0c\u5426\u5219\u540e\u9762\u7684\u7f16\u8bd1\u8fc7\u7a0b\u4f1a\u51fa\u9519\u3002<\/p>\n\n\n<p>\u8fd9\u662f\u6211\u5b8c\u6574\u7684Nginx\u7f16\u8bd1\u547d\u4ee4\u53ca\u7f16\u8bd1\u53c2\u6570\uff1a<\/p>\n\n\n<pre class=\"wp-block-code\"><code># cd nginx-quic\n# .\/auto\/configure --prefix=\/etc\/nginx --sbin-path=\/usr\/sbin\/nginx --modules-path=\/usr\/lib\/nginx\/modules --conf-path=\/etc\/nginx\/nginx.conf --error-log-path=\/var\/log\/nginx\/error.log --http-log-path=\/var\/log\/nginx\/access.log --pid-path=\/var\/run\/nginx.pid --lock-path=\/var\/run\/nginx.lock --http-client-body-temp-path=\/var\/cache\/nginx\/client_temp --http-proxy-temp-path=\/var\/cache\/nginx\/proxy_temp --http-fastcgi-temp-path=\/var\/cache\/nginx\/fastcgi_temp --http-uwsgi-temp-path=\/var\/cache\/nginx\/uwsgi_temp --http-scgi-temp-path=\/var\/cache\/nginx\/scgi_temp --user=nginx --group=nginx --with-compat --with-file-aio --with-threads --with-http_addition_module --with-http_auth_request_module --with-http_dav_module --with-http_gunzip_module --with-http_gzip_static_module --with-http_realip_module --with-http_slice_module --with-http_ssl_module --with-http_stub_status_module --with-http_sub_module --with-http_v2_module --with-stream --with-stream_realip_module --with-stream_ssl_module --with-stream_ssl_preread_module --with-cc-opt=-I..\/boringssl\/include --with-ld-opt='-L..\/boringssl\/build\/ssl -L..\/boringssl\/build\/crypto' --with-http_v3_module --with-http_quic_module --with-stream_quic_module\n# make<\/code><\/pre>\n\n\n<p>\u603b\u5171\u4e09\u884c\uff0c\u6211\u662f\u62fc\u63a5\u7684Nginx\u672c\u8eab\u81ea\u5e26\u7684\u7f16\u8bd1\u53c2\u6570\u3002<\/p>\n\n\n<p>\u5982\u679c\u7f16\u8bd1\u6210\u529f\u7684\u8bdd\uff0c\u5728<strong>~\/nginx-quic\/objs\/<\/strong>\u76ee\u5f55\u4e0b\u9762\u5e94\u8be5\u4f1a\u51fa\u73b0\u4e00\u4e2a\u540d\u4e3anginx\u7684\u6587\u4ef6\uff0c\u8fd9\u5c31\u662f\u6211\u4eec\u7f16\u8bd1\u597d\u7684\u652f\u6301HTTP3\u7684Nginx\uff0c\u53ef\u4ee5\u5f53\u524d\u673a\u5668\u76f4\u63a5\u6267\u884c\u4e5f\u53ef\u4ee5\u4f20\u5230\u522b\u7684\u670d\u52a1\u5668\u6267\u884c\uff0c\u6211\u662f\u4e3a\u4e86\u65b9\u4fbf\uff0c\u7528\u5b83\u5c06\u672c\u673a\u5b89\u88c5\u7684Nginx\u53ef\u6267\u884c\u6587\u4ef6\u7ed9\u66ff\u6362\u4e86\uff1a<\/p>\n\n\n<pre class=\"wp-block-code\"><code>cp \/usr\/sbin\/nginx{,.bak}\ncp ~\/nginx-quic\/objs\/nginx \/usr\/sbin\/nginx<\/code><\/pre>\n\n\n<p>\u7136\u540e\u5c31\u80fd\u901a\u8fc7\u6267\u884c<strong>nginx -V<\/strong>\u67e5\u770b\u65b0\u7684Nginx\u7684\u76f8\u5173\u4fe1\u606f\u4e86\u3002<\/p>\n\n\n<h1 class=\"wp-block-heading\">\u4fee\u6539Nginx\u7684\u914d\u7f6e\u6587\u4ef6\u5f00\u542fHTTP3\u652f\u6301<\/h1>\n\n\n<p>\u8fd9\u662f\u6211\u5b9e\u9645\u6d4b\u8bd5\u4e4b\u540e\u6700\u7ec8\u4fee\u6539\u5f97\u5230\u7684Nginx\u652f\u6301HTTP3\u3001HTTP2\u3001TLSv1.3\u529f\u80fd\u7684\u90e8\u5206\u914d\u7f6e\u6587\u4ef6\uff0cHTTPS\u53caHTTP3\u90fd\u662f443\u7aef\u53e3\uff1a<\/p>\n\n\n<pre class=\"wp-block-code\"><code>listen 443 http3 quic reuseport;\nlisten 443 ssl http2;\nssl_certificate \/path\/to\/cloudbool.com.cert;\nssl_certificate_key \/path\/to\/cloudbool.com.key;\nssl_protocols TLSv1 TLSv1.1 TLSv1.2 TLSv1.3;\nadd_header Alt-Svc '$http3=\":443\";ma=86400';<\/code><\/pre>\n\n\n<p>\u914d\u7f6e\u597d\u4e4b\u540e\u9700\u8981\u91cd\u542fNginx\uff0c<strong>\u5e76\u4e14\u9632\u706b\u5899\u6216\u8005\u5b89\u5168\u7ec4\u8bb0\u5f97\u653e\u884c\u5bf9\u5e94\u7684HTTP3\u7aef\u53e3<\/strong>\uff0c\u5426\u5219\u4f1a\u51fa\u73b0\u65e0\u6cd5\u542f\u7528HTTP3\u7684\u95ee\u9898\u3002<\/p>\n\n\n<h1 class=\"wp-block-heading\">HTTP3\u529f\u80fd\u4f7f\u7528\u4f53\u9a8c<\/h1>\n\n\n<p>\u8bf4\u5b9e\u8bdd\uff0c\u5230\u76ee\u524dChrome\u3001Firefox\u53caSafari\u8fd9\u4e09\u5927\u6d4f\u89c8\u5668\u90fd\u6ca1\u6709\u9ed8\u8ba4\u652f\u6301HTTP3\uff0c\u90fd\u9700\u8981\u5404\u79cd\u65b9\u6cd5\u53bb\u5f00\u542fHTTP3\uff0c\u4e2a\u4eba\u611f\u89c9\u662f\u7edd\u5927\u591a\u6570\u7528\u6237\u90fd\u5173\u7cfb\u4e0d\u5927\uff0c\u66f4\u591a\u7684\u8fd8\u662f\u6211\u4eec\u8fd9\u7fa4\u7231\u6298\u817e\u7684\u4eba\u5728\u73a9\u3002<\/p>\n\n\n<p>\u800c\u4e14\u7ecf\u8fc7\u6211\u7684\u5b9e\u9645\u6d4b\u8bd5\uff0c\u540c\u4e00\u4e2a\u7f51\u7ad9\uff0c\u4e0d\u540c\u7f51\u7edc\u53ef\u80fd\u5e76\u4e0d\u662f\u4e00\u5b9a\u80fd\u4f7f\u7528\u4e0aHTTP3\uff0c\u6211\u7684\u5b9e\u9645\u6d4b\u8bd5\u5c31\u662f\uff0c\u5728\u7535\u4fe1\u7f51\u7edc\u73af\u5883\u4e0b\uff0c\u4e0d\u7ba1\u600e\u4e48\u914d\u7f6e\uff0c\u90fd\u65e0\u6cd5\u4f7f\u7528HTTP3\u8fdb\u884c\u8fde\u63a5\uff0c\u4f46\u662f\u540c\u6837\u7684\u8f6f\u4ef6\uff0c\u5728\u79fb\u52a8\u5bbd\u5e26\u7f51\u7edc\u4e0b\u5374\u80fd\u4f7f\u7528HTTP3\u8fdb\u884c\u8fde\u63a5\uff0c\u4e0d\u77e5\u9053\u662f\u4e0d\u662f\u8ddf\u6240\u4f7f\u7528\u7f51\u7edc\u7684UDP\u9650\u5236\u60c5\u51b5\u6709\u5173\u3002<\/p>\n\n\n<p>\u6700\u540e\uff0c\u4e0a\u5f20\u56fe\uff0c\u8bc1\u660e\u80fd\u6b63\u5e38\u4f7f\u7528HTTP3\u529f\u80fd\uff1a<\/p>\n\n\n<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/x.cloudbool.com\/img\/202102\/9NdLxHJInkiQBOA.png\" alt=\"\"\/><figcaption>Nginx HTTP3 h3-29<\/figcaption><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>\u5176\u5b9e\u6211\u8fd9\u5c0f\u535a\u5ba2\u65e9\u57282020\u5e74\u521d\u5c31\u5f00\u542f\u4e86HTTP3\u7684\u652f\u6301\uff0c\u5f53\u65f6\u7684Nginx\u7248\u672c\u662fNginx 1.16.1\uff0c\u662f\u5229\u7528 &hellip;<\/p>\n<p class=\"read-more\"> <a class=\"\" href=\"https:\/\/cloudbool.com\/archive\/nginx-quic-http3-tlsv1-3.html\"> <span class=\"screen-reader-text\">\u5229\u7528Nginx-Quic\u91cd\u65b0\u7f16\u8bd1Nginx\u652f\u6301HTTP3+TLSv1.3<\/span> \u67e5\u770b\u5168\u6587 &raquo;<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-gradient":""}},"footnotes":""},"categories":[8],"tags":[158,76,166,168],"class_list":["post-662","post","type-post","status-publish","format-standard","hentry","category-tech","tag-http3","tag-nginx","tag-quic","tag-tls-1-3"],"_links":{"self":[{"href":"https:\/\/cloudbool.com\/archive\/wp-json\/wp\/v2\/posts\/662","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cloudbool.com\/archive\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cloudbool.com\/archive\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cloudbool.com\/archive\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cloudbool.com\/archive\/wp-json\/wp\/v2\/comments?post=662"}],"version-history":[{"count":0,"href":"https:\/\/cloudbool.com\/archive\/wp-json\/wp\/v2\/posts\/662\/revisions"}],"wp:attachment":[{"href":"https:\/\/cloudbool.com\/archive\/wp-json\/wp\/v2\/media?parent=662"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cloudbool.com\/archive\/wp-json\/wp\/v2\/categories?post=662"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cloudbool.com\/archive\/wp-json\/wp\/v2\/tags?post=662"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}