{"id":3669,"date":"2021-11-21T22:38:01","date_gmt":"2021-11-22T06:38:01","guid":{"rendered":"https:\/\/www.xh86.me\/?p=3669"},"modified":"2021-11-21T22:47:04","modified_gmt":"2021-11-22T06:47:04","slug":"%e5%8a%a0%e9%80%9f-nginx-%e5%93%8d%e5%ba%94%e7%9a%84-5-%e4%b8%aa%e6%8e%aa%e6%96%bd%ef%bc%81%e6%95%88%e6%9e%9c%e6%98%8e%e6%98%be","status":"publish","type":"post","link":"https:\/\/www.xh86.me\/?p=3669","title":{"rendered":"\u52a0\u901f Nginx \u54cd\u5e94\u7684 5 \u4e2a\u63aa\u65bd\uff01\u6548\u679c\u660e\u663e\uff01"},"content":{"rendered":"<div class=\"wxsyncmain\">\n<p style=\"max-width: 100%; min-height: 1em; text-align: center; overflow-wrap: break-word !important; box-sizing: border-box !important;\" data-mpa-powered-by=\"yiban.io\"><span style=\"background-color: #ffffff; color: #34495e; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif; text-align: start; font-size: 15px;\">\u6d77\u519b\u4e0a\u5c06\u5a01\u5ec9\u00b7\u9ea6\u514b\u62c9\u6587\u5728 <\/span><code style=\"text-align: start; box-sizing: inherit; font-family: Inconsolata, Monaco, Consolas, 'courier new', Courier, monospace; font-size: 0.91rem; padding: 1px 5px; color: #e96900; background-color: #f8f8f8; border-radius: 2px; top: 13px !important;\"><span style=\"font-size: 15px;\">2014<\/span><\/code><span style=\"background-color: #ffffff; color: #34495e; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif; text-align: start; font-size: 15px;\">\u00a0\u5e74\u4e8e\u5fb7\u514b\u8428\u65af\u5927\u5b66\u53d1\u8868\u7684\u8457\u540d\u6f14\u8bb2\u4e2d\u8bf4\uff0c\u5982\u679c\u4f60\u60f3\u6539\u53d8\u4e16\u754c\uff0c\u5c31\u4ece\u94fa\u5e8a\u5f00\u59cb\u5427\uff01\u6709\u65f6\uff0c\u4e00\u4e9b\u5f88\u5c0f\u7684\u4e8b\u60c5\u53ef\u80fd\u4f1a\u4ea7\u751f\u5f88\u5927\u7684\u5f71\u54cd\uff0c\u65e0\u8bba\u4f60\u662f\u65e9\u4e0a\u8d77\u6765\u6574\u7406\u4f60\u7684\u5e8a\u94fa\uff0c\u8fd8\u662f\u5bf9\u7f51\u7ad9\u7684\u00a0<\/span><code style=\"text-align: start; box-sizing: inherit; font-family: Inconsolata, Monaco, Consolas, 'courier new', Courier, monospace; font-size: 0.91rem; padding: 1px 5px; color: #e96900; background-color: #f8f8f8; border-radius: 2px; top: 13px !important;\"><span style=\"font-size: 15px;\">HTTP<\/span><\/code><span style=\"background-color: #ffffff; color: #34495e; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif; text-align: start; font-size: 15px;\">\u00a0\u670d\u52a1\u914d\u7f6e\u6587\u4ef6\u505a\u4e00\u4e9b\u5c0f\u5c0f\u7684\u6539\u53d8\u3002<\/span><\/p>\n<p style=\"box-sizing: inherit; font-size: 1.05rem; line-height: 1.85rem; margin: 2px 2px 10px; color: #34495e; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif; text-align: left; white-space: normal; background-color: #ffffff;\"><span style=\"font-size: 15px;\">\u8fd9\u770b\u8d77\u6765\u50cf\u662f\u4e0d\u662f\u6709\u4e9b\u5938\u5927\u5176\u8bcd\u5462\uff1f\u4f46\u662f\uff0c\u5728\u00a0<\/span><code style=\"box-sizing: inherit; font-family: Inconsolata, Monaco, Consolas, 'courier new', Courier, monospace; font-size: 0.91rem; padding: 1px 5px; color: #e96900; background-color: #f8f8f8; border-radius: 2px; top: 13px !important;\"><span style=\"font-size: 15px;\">2020<\/span><\/code><span style=\"font-size: 15px;\">\u00a0\u5e74\u7684\u524d\u51e0\u4e2a\u6708\u91cc\u9762\uff0c\u51fb\u57ae\u4e86\u4eba\u4eec\u5173\u4e8e\u4e16\u754c\uff0c\u4ec0\u4e48\u662f\u6b63\u5e38\u548c\u5408\u7406\u7684\u5b9a\u4e49\u3002\u7531\u4e8e\u00a0<\/span><code style=\"box-sizing: inherit; font-family: Inconsolata, Monaco, Consolas, 'courier new', Courier, monospace; font-size: 0.91rem; padding: 1px 5px; color: #e96900; background-color: #f8f8f8; border-radius: 2px; top: 13px !important;\"><span style=\"font-size: 15px;\">COVID\u201119<\/span><\/code><span style=\"font-size: 15px;\">\u00a0\u7684\u5927\u6d41\u884c\uff0c\u5730\u7403\u4e0a\u5c06\u8fd1\u4e00\u534a\u7684\u4eba\u88ab\u56f0\u5728\u5bb6\u4e2d\uff0c\u4e92\u8054\u7f51\u5df2\u6210\u4e3a\u4ed6\u4eec\u4ea4\u6d41\u3001\u5a31\u4e50\u3001\u8d2d\u4e70\u98df\u7269\u3001\u5de5\u4f5c\u548c\u6559\u80b2\u7684\u552f\u4e00\u65b9\u5f0f\u3002\u6bcf\u4e00\u5468\uff0c\u4e92\u8054\u7f51\u7684\u7f51\u7edc\u6d41\u91cf\u548c\u670d\u52a1\u5668\u8d1f\u8f7d\u90fd\u6bd4\u4ee5\u5f80\u4efb\u4f55\u65f6\u5019\u90fd\u8981\u9ad8\u3002\u6839\u636e\u00a0<\/span><code style=\"box-sizing: inherit; font-family: Inconsolata, Monaco, Consolas, 'courier new', Courier, monospace; font-size: 0.91rem; padding: 1px 5px; color: #e96900; background-color: #f8f8f8; border-radius: 2px; top: 13px !important;\"><span style=\"font-size: 15px;\">BroadbandNow<\/span><\/code><span style=\"font-size: 15px;\">\u00a0\u516c\u53f8\u00a0<\/span><code style=\"box-sizing: inherit; font-family: Inconsolata, Monaco, Consolas, 'courier new', Courier, monospace; font-size: 0.91rem; padding: 1px 5px; color: #e96900; background-color: #f8f8f8; border-radius: 2px; top: 13px !important;\"><span style=\"font-size: 15px;\">3<\/span><\/code><span style=\"font-size: 15px;\">\u00a0\u6708\u00a0<\/span><code style=\"box-sizing: inherit; font-family: Inconsolata, Monaco, Consolas, 'courier new', Courier, monospace; font-size: 0.91rem; padding: 1px 5px; color: #e96900; background-color: #f8f8f8; border-radius: 2px; top: 13px !important;\"><span style=\"font-size: 15px;\">25<\/span><\/code><span style=\"font-size: 15px;\">\u00a0\u65e5\u53d1\u5e03\u7684\u62a5\u544a\u663e\u793a\uff0c\u5f88\u591a\u57ce\u5e02\u5df2\u7ecf\u51fa\u73b0\u4e00\u5b9a\u7a0b\u5ea6\u7684\u7f51\u7edc\u9000\u5316\u3002<\/span><\/p>\n<p style=\"box-sizing: inherit; font-size: 1.05rem; line-height: 1.85rem; margin: 2px 2px 10px; color: #34495e; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif; text-align: start; white-space: normal; background-color: #ffffff;\"><span style=\"font-size: 15px;\">\u8fd9\u65f6\uff0c\u6211\u4eec\u5c31\u9700\u8981\u901a\u8fc7\u4f18\u5316\u7f51\u7ad9\uff0c\u5bf9\u00a0<\/span><code style=\"box-sizing: inherit; font-family: Inconsolata, Monaco, Consolas, 'courier new', Courier, monospace; font-size: 0.91rem; padding: 1px 5px; color: #e96900; background-color: #f8f8f8; border-radius: 2px; top: 13px !important;\"><span style=\"font-size: 15px;\">HTTP<\/span><\/code><span style=\"font-size: 15px;\">\u00a0\u670d\u52a1\u5668\u8fdb\u884c\u4e00\u4e9b\u5c0f\u7684\u6539\u52a8\uff0c\u53ef\u4ee5\u51cf\u5c11\u7528\u6237\u4f7f\u7528\u7684\u7f51\u7edc\u5e26\u5bbd\u548c\u670d\u52a1\u5668\u4e0a\u7684\u8d1f\u8f7d\uff0c\u5c31\u53ef\u4ee5\u7ed9\u66f4\u591a\u7528\u6237\u63d0\u4f9b\u670d\u52a1\u3002\u8fd9\u91cc\uff0c\u6211\u4eec\u5c06\u4ecb\u7ecd\u4e00\u4e9b\u7b80\u5355\u4f46\u529f\u80fd\u5f3a\u5927\u7684\u914d\u7f6e\u66f4\u6539\uff0c\u8fd9\u4e9b\u6539\u52a8\u64cd\u4f5c\u6b65\u9aa4\u975e\u5e38\u7b80\u5355\uff0c\u4f46\u53ef\u4ee5\u660e\u663e\u63d0\u9ad8\u7f51\u7ad9\u6027\u80fd\u5e76\u51cf\u5c11\u4f7f\u7528\u7684\u7f51\u7edc\u5e26\u5bbd\u3002<\/span><\/p>\n<p style=\"box-sizing: inherit; font-size: 1.05rem; line-height: 1.85rem; margin: 2px 2px 10px; color: #34495e; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif; text-align: start; white-space: normal; background-color: #ffffff;\"><span style=\"font-size: 15px;\">\u4e3e\u4e00\u4e2a\u73b0\u5b9e\u5b58\u5728\u7684\u4f8b\u5b50\uff0c\u6211\u4eec\u6709\u4e00\u4e2a\u7535\u5b50\u5546\u52a1\u7684\u7ad9\u70b9\uff0c\u8be5\u7ad9\u70b9\u8fd0\u884c\u7740\u00a0<\/span><code style=\"box-sizing: inherit; font-family: Inconsolata, Monaco, Consolas, 'courier new', Courier, monospace; font-size: 0.91rem; padding: 1px 5px; color: #e96900; background-color: #f8f8f8; border-radius: 2px; top: 13px !important;\"><span style=\"font-size: 15px;\">Nginx1.15.9<\/span><\/code><span style=\"font-size: 15px;\">\u00a0\u4f5c\u4e3a\u5176\u00a0<\/span><code style=\"box-sizing: inherit; font-family: Inconsolata, Monaco, Consolas, 'courier new', Courier, monospace; font-size: 0.91rem; padding: 1px 5px; color: #e96900; background-color: #f8f8f8; border-radius: 2px; top: 13px !important;\"><span style=\"font-size: 15px;\">web<\/span><\/code><span style=\"font-size: 15px;\">\u00a0\u670d\u52a1\u5668\u3002\u4e3a\u4e86\u4fbf\u4e8e\u8ba1\u7b97\uff0c\u6211\u4eec\u5047\u8bbe\u8be5\u7ad9\u70b9\u6bcf\u5929\u6709\u00a0<\/span><code style=\"box-sizing: inherit; font-family: Inconsolata, Monaco, Consolas, 'courier new', Courier, monospace; font-size: 0.91rem; padding: 1px 5px; color: #e96900; background-color: #f8f8f8; border-radius: 2px; top: 13px !important;\"><span style=\"font-size: 15px;\">100<\/span><\/code><span style=\"font-size: 15px;\">\u00a0\u4e2a\u72ec\u7acb\u7528\u6237\uff0c<\/span><code style=\"box-sizing: inherit; font-family: Inconsolata, Monaco, Consolas, 'courier new', Courier, monospace; font-size: 0.91rem; padding: 1px 5px; color: #e96900; background-color: #f8f8f8; border-radius: 2px; top: 13px !important;\"><span style=\"font-size: 15px;\">30%<\/span><\/code><span style=\"font-size: 15px;\">\u00a0\u7684\u7528\u6237\u662f\u91cd\u590d\u8bbf\u95ee\u8005\uff0c\u6bcf\u4e2a\u7528\u6237\u5728\u4e00\u4e2a\u4f1a\u8bdd\u4e2d\u5e73\u5747\u8bbf\u95ee\u00a0<\/span><code style=\"box-sizing: inherit; font-family: Inconsolata, Monaco, Consolas, 'courier new', Courier, monospace; font-size: 0.91rem; padding: 1px 5px; color: #e96900; background-color: #f8f8f8; border-radius: 2px; top: 13px !important;\"><span style=\"font-size: 15px;\">4<\/span><\/code><span style=\"font-size: 15px;\">\u00a0\u4e2a\u9875\u9762\u3002<\/span><\/p>\n<hr style=\"box-sizing: content-box; height: 0px; overflow: visible; margin-top: 20px; margin-bottom: 20px; border-right: 0px; border-bottom: 0px; border-left: 0px; border-top-style: solid; border-top-color: #cccccc; color: #34495e; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif; font-size: 15px; text-align: start; white-space: normal; background-color: #ffffff;\" \/>\n<h2 style=\"box-sizing: inherit; font-weight: bold; line-height: 1.8rem; font-size: 1.8rem; margin-top: 42px; margin-bottom: 18px; margin-left: -5px; color: #34495e; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif; text-align: start; white-space: normal; background-color: #ffffff;\"><span style=\"font-size: 17px;\">1\u3001\u542f\u7528 Gzip \u538b\u7f29<\/span><\/h2>\n<blockquote style=\"box-sizing: inherit; margin-top: 20px; margin-bottom: 20px; padding: 1rem 0.8rem 0.2rem; border-left-width: 5px; border-left-color: #42b983; color: #666666; background-color: rgba(66, 185, 131, 0.1); font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif; text-align: start; white-space: normal;\">\n<p style=\"box-sizing: inherit; font-size: 1.05rem; line-height: 1.85rem; margin: 2px 2px 10px; text-indent: 0.2rem;\"><span style=\"box-sizing: inherit; font-weight: bold; font-size: 15px;\">Enabling Gzip Compression for HTML, CSS, and JavaScript Files<\/span><\/p>\n<\/blockquote>\n<p style=\"box-sizing: inherit; font-size: 1.05rem; line-height: 1.85rem; margin: 2px 2px 10px; color: #34495e; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif; text-align: start; white-space: normal; background-color: #ffffff;\"><span style=\"font-size: 15px;\">\u5982\u60a8\u6240\u77e5\uff0c\u5728\u7f51\u7ad9\u4e0a\u6784\u5efa\u9875\u9762\u7684\u00a0<\/span><code style=\"box-sizing: inherit; font-family: Inconsolata, Monaco, Consolas, 'courier new', Courier, monospace; font-size: 0.91rem; padding: 1px 5px; color: #e96900; background-color: #f8f8f8; border-radius: 2px; top: 13px !important;\"><span style=\"font-size: 15px;\">HTML<\/span><\/code><span style=\"font-size: 15px;\">\uff0c<\/span><code style=\"box-sizing: inherit; font-family: Inconsolata, Monaco, Consolas, 'courier new', Courier, monospace; font-size: 0.91rem; padding: 1px 5px; color: #e96900; background-color: #f8f8f8; border-radius: 2px; top: 13px !important;\"><span style=\"font-size: 15px;\">CSS<\/span><\/code><span style=\"font-size: 15px;\">\u00a0\u548c\u00a0<\/span><code style=\"box-sizing: inherit; font-family: Inconsolata, Monaco, Consolas, 'courier new', Courier, monospace; font-size: 0.91rem; padding: 1px 5px; color: #e96900; background-color: #f8f8f8; border-radius: 2px; top: 13px !important;\"><span style=\"font-size: 15px;\">JavaScript<\/span><\/code><span style=\"font-size: 15px;\">\u00a0\u6587\u4ef6\u53ef\u80fd\u975e\u5e38\u5e9e\u5927\u3002\u5728\u5927\u591a\u6570\u60c5\u51b5\u4e0b\uff0c<\/span><code style=\"box-sizing: inherit; font-family: Inconsolata, Monaco, Consolas, 'courier new', Courier, monospace; font-size: 0.91rem; padding: 1px 5px; color: #e96900; background-color: #f8f8f8; border-radius: 2px; top: 13px !important;\"><span style=\"font-size: 15px;\">Web<\/span><\/code><span style=\"font-size: 15px;\">\u00a0\u670d\u52a1\u5668\u53ef\u4ee5\u5373\u65f6\u538b\u7f29\u8fd9\u4e9b\u548c\u5176\u4ed6\u6587\u672c\u6587\u4ef6\uff0c\u4ee5\u8282\u7701\u7f51\u7edc\u5e26\u5bbd\u3002\u67e5\u770b\u00a0<\/span><code style=\"box-sizing: inherit; font-family: Inconsolata, Monaco, Consolas, 'courier new', Courier, monospace; font-size: 0.91rem; padding: 1px 5px; color: #e96900; background-color: #f8f8f8; border-radius: 2px; top: 13px !important;\"><span style=\"font-size: 15px;\">Web<\/span><\/code><span style=\"font-size: 15px;\">\u00a0\u670d\u52a1\u5668\u662f\u5426\u6b63\u5728\u538b\u7f29\u6587\u4ef6\u7684\u4e00\u79cd\u65b9\u6cd5\uff0c\u5c31\u662f\u4f7f\u7528\u6d4f\u89c8\u5668\u4e2d\u7684\u5f00\u53d1\u4eba\u5458\u5de5\u5177\u3002<\/span><\/p>\n<p style=\"box-sizing: inherit; font-size: 1.05rem; line-height: 1.85rem; margin: 2px 2px 10px; color: #34495e; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif; text-align: start; white-space: normal; background-color: #ffffff;\"><span style=\"font-size: 15px;\">\u5bf9\u4e8e\u8bb8\u591a\u6d4f\u89c8\u5668\uff0c\u60a8\u53ef\u4ee5\u4f7f\u7528\u00a0<\/span><code style=\"box-sizing: inherit; font-family: Inconsolata, Monaco, Consolas, 'courier new', Courier, monospace; font-size: 0.91rem; padding: 1px 5px; color: #e96900; background-color: #f8f8f8; border-radius: 2px; top: 13px !important;\"><span style=\"font-size: 15px;\">F12<\/span><\/code><span style=\"font-size: 15px;\">\u00a0\u952e\u8bbf\u95ee\u8be5\u5de5\u5177\uff0c\u76f8\u5173\u4fe1\u606f\u5728\u00a0<\/span><code style=\"box-sizing: inherit; font-family: Inconsolata, Monaco, Consolas, 'courier new', Courier, monospace; font-size: 0.91rem; padding: 1px 5px; color: #e96900; background-color: #f8f8f8; border-radius: 2px; top: 13px !important;\"><span style=\"font-size: 15px;\">Network<\/span><\/code><span style=\"font-size: 15px;\">\u00a0\u9009\u9879\u5361\u4e0a\uff0c\u53ef\u4ee5\u5f97\u5230\u5982\u4e0b\u6240\u793a\u7684\u622a\u56fe\u4f8b\u5b50\u3002\u6b63\u5982\u60a8\u5728\u5de6\u4e0b\u89d2\u770b\u5230\u7684\uff0c\u6ca1\u6709\u538b\u7f29:\u6587\u672c\u6587\u4ef6\u7684\u5927\u5c0f\u4e3a\u00a0<\/span><code style=\"box-sizing: inherit; font-family: Inconsolata, Monaco, Consolas, 'courier new', Courier, monospace; font-size: 0.91rem; padding: 1px 5px; color: #e96900; background-color: #f8f8f8; border-radius: 2px; top: 13px !important;\"><span style=\"font-size: 15px;\">1.15 MB<\/span><\/code><span style=\"font-size: 15px;\">\uff0c\u4f20\u8f93\u4e86\u5927\u91cf\u6570\u636e\u3002<\/span><\/p>\n<p style=\"text-align: center;\"><div class='fancybox-wrapper lazyload-container-unload' data-fancybox='post-images' href='https:\/\/www.xh86.me\/wp-content\/uploads\/2021\/11\/wxsync-2021-11-df5a7f844d10fee77b80876be8de82cb.png'><img class=\"lazyload lazyload-style-1\" src=\"data:image\/svg+xml;base64,PCEtLUFyZ29uTG9hZGluZy0tPgo8c3ZnIHdpZHRoPSIxIiBoZWlnaHQ9IjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgc3Ryb2tlPSIjZmZmZmZmMDAiPjxnPjwvZz4KPC9zdmc+\"  decoding=\"async\" class=\"rich_pages wxw-img\" data-original=\"https:\/\/www.xh86.me\/wp-content\/uploads\/2021\/11\/wxsync-2021-11-df5a7f844d10fee77b80876be8de82cb.png\" src=\"data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXYzh8+PB\/AAffA0nNPuCLAAAAAElFTkSuQmCC\" data-galleryid=\"\" data-ratio=\"0.3299620733249052\" data-s=\"300,640\" data-type=\"png\" data-w=\"791\" \/><\/div><\/p>\n<p style=\"box-sizing: inherit; font-size: 1.05rem; line-height: 1.85rem; margin: 2px 2px 10px; color: #34495e; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif; text-align: start; white-space: normal; background-color: #ffffff;\"><span style=\"font-size: 15px;\">\u9ed8\u8ba4\u60c5\u51b5\u4e0b\uff0c\u538b\u7f29\u529f\u80fd\u5728\u00a0<\/span><code style=\"box-sizing: inherit; font-family: Inconsolata, Monaco, Consolas, 'courier new', Courier, monospace; font-size: 0.91rem; padding: 1px 5px; color: #e96900; background-color: #f8f8f8; border-radius: 2px; top: 13px !important;\"><span style=\"font-size: 15px;\">Nginx<\/span><\/code><span style=\"font-size: 15px;\">\u00a0\u4e2d\u662f\u7981\u7528\u7684\uff0c\u4f46\u56e0\u4e3a\u5b89\u88c5\u65b9\u5f0f\u6216\u00a0<\/span><code style=\"box-sizing: inherit; font-family: Inconsolata, Monaco, Consolas, 'courier new', Courier, monospace; font-size: 0.91rem; padding: 1px 5px; color: #e96900; background-color: #f8f8f8; border-radius: 2px; top: 13px !important;\"><span style=\"font-size: 15px;\">Linux<\/span><\/code><span style=\"font-size: 15px;\">\u00a0\u53d1\u884c\u7248\u7684\u4e0d\u540c\uff0c\u4e00\u4e9b\u60c5\u51b5\u4e0b\u53ef\u80fd\u5728\u9ed8\u8ba4\u7684\u00a0<\/span><code style=\"box-sizing: inherit; font-family: Inconsolata, Monaco, Consolas, 'courier new', Courier, monospace; font-size: 0.91rem; padding: 1px 5px; color: #e96900; background-color: #f8f8f8; border-radius: 2px; top: 13px !important;\"><span style=\"font-size: 15px;\">nginx.conf<\/span><\/code><span style=\"font-size: 15px;\">\u00a0\u914d\u7f6e\u6587\u4ef6\u4e2d\u662f\u542f\u7528\u72b6\u6001\u3002\u8fd9\u91cc\uff0c\u6211\u4eec\u5728\u00a0<\/span><code style=\"box-sizing: inherit; font-family: Inconsolata, Monaco, Consolas, 'courier new', Courier, monospace; font-size: 0.91rem; padding: 1px 5px; color: #e96900; background-color: #f8f8f8; border-radius: 2px; top: 13px !important;\"><span style=\"font-size: 15px;\">NGINX<\/span><\/code><span style=\"font-size: 15px;\">\u00a0\u914d\u7f6e\u6587\u4ef6\u4e2d\u542f\u7528\u4e86\u00a0<\/span><code style=\"box-sizing: inherit; font-family: Inconsolata, Monaco, Consolas, 'courier new', Courier, monospace; font-size: 0.91rem; padding: 1px 5px; color: #e96900; background-color: #f8f8f8; border-radius: 2px; top: 13px !important;\"><span style=\"font-size: 15px;\">gzip<\/span><\/code><span style=\"font-size: 15px;\">\u00a0\u538b\u7f29\uff1a<\/span><\/p>\n<pre style=\"box-sizing: inherit; font-family: Consolas, Monaco, 'andale mono', 'ubuntu mono', monospace; font-size: 1em; border-radius: 0.35rem; tab-size: 4; padding: 1em 1em 1em 3.8em; color: #cccccc; background: #2d2d2d; word-spacing: normal; word-break: normal; overflow-wrap: normal; line-height: 1.5; hyphens: none; margin-top: 0.5em; margin-bottom: 0.5em; overflow: auto; counter-reset: linenumber 0;\"><code style=\"box-sizing: inherit; font-family: Consolas, Monaco, 'andale mono', 'ubuntu mono', monospace; font-size: 1em; background: 0px 0px; border-radius: 2px; white-space: inherit; word-spacing: normal; word-break: normal; overflow-wrap: normal; line-height: 1.5; tab-size: 4; hyphens: none; top: 13px !important;\"><span style=\"font-size: 15px;\"><span style=\"box-sizing: inherit; color: #cc99cd;\">gzip<\/span> on<span style=\"box-sizing: inherit;\">;<\/span>\r\n<span style=\"box-sizing: inherit; color: #cc99cd;\">gzip_types<\/span> application<span style=\"box-sizing: inherit; color: #67cdcc;\">\/<\/span>xml\r\n    application<span style=\"box-sizing: inherit; color: #67cdcc;\">\/<\/span>json\r\n    text<span style=\"box-sizing: inherit; color: #67cdcc;\">\/<\/span>css\r\n    text<span style=\"box-sizing: inherit; color: #67cdcc;\">\/<\/span>javascript\r\n    application<span style=\"box-sizing: inherit; color: #67cdcc;\">\/<\/span>javascript<span style=\"box-sizing: inherit;\">;<\/span>\r\n<span style=\"box-sizing: inherit; color: #cc99cd;\">gzip_vary<\/span> on<span style=\"box-sizing: inherit;\">;<\/span>\r\n<span style=\"box-sizing: inherit; color: #cc99cd;\">gzip_comp_level<\/span> <span style=\"box-sizing: inherit; color: #f08d49;\">6<\/span><span style=\"box-sizing: inherit;\">;<\/span>\r\n<span style=\"box-sizing: inherit; color: #cc99cd;\">gzip_min_length<\/span> <span style=\"box-sizing: inherit; color: #f08d49;\">500<\/span><span style=\"box-sizing: inherit;\">;<\/span><\/span><\/code><\/pre>\n<p style=\"box-sizing: inherit; font-size: 1.05rem; line-height: 1.85rem; margin: 2px 2px 10px; color: #34495e; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif; text-align: start; white-space: normal; background-color: #ffffff;\"><span style=\"font-size: 15px;\">\u6b63\u5982\u4e0b\u9762\u5c4f\u5e55\u622a\u56fe\u4e2d\u770b\u5230\u7684\u90a3\u6837\uff0c\u538b\u7f29\u540e\u6570\u636e\u4f20\u8f93\u51cf\u5c11\u5230\u00a0<\/span><code style=\"box-sizing: inherit; font-family: Inconsolata, Monaco, Consolas, 'courier new', Courier, monospace; font-size: 0.91rem; padding: 1px 5px; color: #e96900; background-color: #f8f8f8; border-radius: 2px; top: 13px !important;\"><span style=\"font-size: 15px;\">260KB<\/span><\/code><span style=\"font-size: 15px;\">\uff0c\u76f8\u5bf9\u6765\u6536\u51cf\u5c11\u4e86\u7ea6\u00a0<\/span><code style=\"box-sizing: inherit; font-family: Inconsolata, Monaco, Consolas, 'courier new', Courier, monospace; font-size: 0.91rem; padding: 1px 5px; color: #e96900; background-color: #f8f8f8; border-radius: 2px; top: 13px !important;\"><span style=\"font-size: 15px;\">80\uff05<\/span><\/code><span style=\"font-size: 15px;\">\u00a0\u6570\u636e\u4f20\u8f93\uff01\u5bf9\u4e8e\u9875\u9762\u4e0a\u7684\u6bcf\u4e2a\u65b0\u7528\u6237\uff0c\u60a8\u53ef\u4ee5\u8282\u7701\u5927\u7ea6\u00a0<\/span><code style=\"box-sizing: inherit; font-family: Inconsolata, Monaco, Consolas, 'courier new', Courier, monospace; font-size: 0.91rem; padding: 1px 5px; color: #e96900; background-color: #f8f8f8; border-radius: 2px; top: 13px !important;\"><span style=\"font-size: 15px;\">917KB<\/span><\/code><span style=\"font-size: 15px;\">\u00a0\u7684\u6570\u636e\u4f20\u8f93\u3002\u5bf9\u4e8e\u957f\u671f\u4f7f\u7528\u6211\u4eec\u7f51\u7ad9\u7684\u7528\u6237\uff0c\u6bcf\u5929\u53ef\u4ee5\u8282\u7701\u00a0<\/span><code style=\"box-sizing: inherit; font-family: Inconsolata, Monaco, Consolas, 'courier new', Courier, monospace; font-size: 0.91rem; padding: 1px 5px; color: #e96900; background-color: #f8f8f8; border-radius: 2px; top: 13px !important;\"><span style=\"font-size: 15px;\">62MB<\/span><\/code><span style=\"font-size: 15px;\">\u00a0\u5e26\u5bbd\uff0c\u6bcf\u6708\u53ef\u4ee5\u8282\u7701\u00a0<\/span><code style=\"box-sizing: inherit; font-family: Inconsolata, Monaco, Consolas, 'courier new', Courier, monospace; font-size: 0.91rem; padding: 1px 5px; color: #e96900; background-color: #f8f8f8; border-radius: 2px; top: 13px !important;\"><span style=\"font-size: 15px;\">1860MB<\/span><\/code><span style=\"font-size: 15px;\">\u00a0\u5e26\u5bbd\u3002<\/span><\/p>\n<p style=\"text-align: center;\"><div class='fancybox-wrapper lazyload-container-unload' data-fancybox='post-images' href='https:\/\/www.xh86.me\/wp-content\/uploads\/2021\/11\/wxsync-2021-11-83d4203a248ba52abbb5e372af678eaa.png'><img class=\"lazyload lazyload-style-1\" src=\"data:image\/svg+xml;base64,PCEtLUFyZ29uTG9hZGluZy0tPgo8c3ZnIHdpZHRoPSIxIiBoZWlnaHQ9IjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgc3Ryb2tlPSIjZmZmZmZmMDAiPjxnPjwvZz4KPC9zdmc+\"  decoding=\"async\" class=\"rich_pages wxw-img\" data-original=\"https:\/\/www.xh86.me\/wp-content\/uploads\/2021\/11\/wxsync-2021-11-83d4203a248ba52abbb5e372af678eaa.png\" src=\"data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXYzh8+PB\/AAffA0nNPuCLAAAAAElFTkSuQmCC\" data-galleryid=\"\" data-ratio=\"0.32741116751269034\" data-s=\"300,640\" data-type=\"png\" data-w=\"788\" \/><\/div><\/p>\n<h2 style=\"box-sizing: inherit; font-weight: bold; line-height: 1.8rem; font-size: 1.8rem; margin-top: 42px; margin-bottom: 18px; margin-left: -5px; color: #34495e; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif; text-align: start; white-space: normal; background-color: #ffffff;\"><span style=\"font-size: 17px;\">\u00a02\u3001\u8bbe\u7f6e\u7f13\u5b58\u5934<\/span><\/h2>\n<blockquote style=\"box-sizing: inherit; margin-top: 20px; margin-bottom: 20px; padding: 1rem 0.8rem 0.2rem; border-left-width: 5px; border-left-color: #42b983; color: #666666; background-color: rgba(66, 185, 131, 0.1); font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif; text-align: start; white-space: normal;\">\n<p style=\"box-sizing: inherit; font-size: 1.05rem; line-height: 1.85rem; margin: 2px 2px 10px; text-indent: 0.2rem;\"><span style=\"box-sizing: inherit; font-weight: bold; font-size: 15px;\">Setting Cache Headers<\/span><\/p>\n<\/blockquote>\n<p style=\"box-sizing: inherit; font-size: 1.05rem; line-height: 1.85rem; margin: 2px 2px 10px; color: #34495e; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif; text-align: start; white-space: normal; background-color: #ffffff;\"><span style=\"font-size: 15px;\">\u6d4f\u89c8\u5668\u68c0\u7d22\u7f51\u9875\u6587\u4ef6\u65f6\uff0c\u4f1a\u5c06\u526f\u672c\u4fdd\u7559\u5728\u672c\u5730\u78c1\u76d8\u7f13\u5b58\u4e2d\u3002\u8fd9\u6837\uff0c\u5f53\u4f60\u518d\u6b21\u8bbf\u95ee\u8be5\u9875\u9762\u65f6\uff0c\u6d4f\u89c8\u5668\u5c31\u4e0d\u5fc5\u4ece\u670d\u52a1\u5668\u91cd\u65b0\u83b7\u53d6\u6587\u4ef6\u3002\u6bcf\u4e2a\u6d4f\u89c8\u5668\u90fd\u6709\u81ea\u5df1\u7684\u4f7f\u7528\u903b\u8f91\uff0c\u6765\u51b3\u5b9a\u4f55\u65f6\u4f7f\u7528\u8be5\u6587\u4ef6\u5bf9\u5e94\u7684\u672c\u5730\u526f\u672c\uff0c\u4ee5\u53ca\u4f55\u65f6\u5728\u670d\u52a1\u5668\u66f4\u6539\u4e86\u8be5\u6587\u4ef6\u65f6\u518d\u6b21\u83b7\u53d6\u5b83\u3002\u4f46\u662f\uff0c\u4f5c\u4e3a\u7f51\u7ad9\u6240\u6709\u8005\uff0c\u4f60\u53ef\u4ee5\u5728\u53d1\u9001\u7684\u00a0<\/span><code style=\"box-sizing: inherit; font-family: Inconsolata, Monaco, Consolas, 'courier new', Courier, monospace; font-size: 0.91rem; padding: 1px 5px; color: #e96900; background-color: #f8f8f8; border-radius: 2px; top: 13px !important;\"><span style=\"font-size: 15px;\">HTTP<\/span><\/code><span style=\"font-size: 15px;\">\u00a0\u54cd\u5e94\u4e2d\u8bbe\u7f6e\u7f13\u5b58\u63a7\u5236\u548c\u8fc7\u671f\u6807\u5934\uff0c\u4ee5\u63d0\u9ad8\u6d4f\u89c8\u5668\u7684\u7f13\u5b58\u884c\u4e3a\u7684\u6548\u7387\uff0c\u4ece\u800c\u51cf\u5c11\u5f88\u591a\u4e0d\u5fc5\u8981\u7684\u00a0<\/span><code style=\"box-sizing: inherit; font-family: Inconsolata, Monaco, Consolas, 'courier new', Courier, monospace; font-size: 0.91rem; padding: 1px 5px; color: #e96900; background-color: #f8f8f8; border-radius: 2px; top: 13px !important;\"><span style=\"font-size: 15px;\">HTTP<\/span><\/code><span style=\"font-size: 15px;\">\u00a0\u8bf7\u6c42\u3002<\/span><\/p>\n<p style=\"box-sizing: inherit; font-size: 1.05rem; line-height: 1.85rem; margin: 2px 2px 10px; color: #34495e; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif; text-align: start; white-space: normal; background-color: #ffffff;\"><span style=\"font-size: 15px;\">\u9996\u5148\uff0c\u53ef\u4ee5\u4e3a\u5b57\u4f53\u548c\u56fe\u50cf\u8bbe\u7f6e\u8f83\u957f\u7684\u7f13\u5b58\u8fc7\u671f\u65f6\u95f4\uff0c\u8fd9\u4e9b\u5b57\u4f53\u548c\u56fe\u50cf\u53ef\u80fd\u4e0d\u4f1a\u7ecf\u5e38\u66f4\u6539\u3002\u5728\u4e0b\u9762\u7684\u793a\u4f8b\u4e2d\uff0c\u8bbe\u7f6e\u5ba2\u6237\u7aef\u6d4f\u89c8\u5668\u5c06\u5b57\u4f53\u548c\u56fe\u50cf\u5728\u672c\u5730\u7f13\u5b58\u4e2d\u4fdd\u7559\u4e00\u4e2a\u6708\u3002<\/span><\/p>\n<pre style=\"box-sizing: inherit; font-family: Consolas, Monaco, 'andale mono', 'ubuntu mono', monospace; font-size: 1em; border-radius: 0.35rem; tab-size: 4; padding: 1em 1em 1em 3.8em; color: #cccccc; background: #2d2d2d; word-spacing: normal; word-break: normal; overflow-wrap: normal; line-height: 1.5; hyphens: none; margin-top: 0.5em; margin-bottom: 0.5em; overflow: auto; counter-reset: linenumber 0;\"><code style=\"box-sizing: inherit; font-family: Consolas, Monaco, 'andale mono', 'ubuntu mono', monospace; font-size: 1em; background: 0px 0px; border-radius: 2px; white-space: inherit; word-spacing: normal; word-break: normal; overflow-wrap: normal; line-height: 1.5; tab-size: 4; hyphens: none; top: 13px !important;\"><span style=\"font-size: 15px;\"><span style=\"box-sizing: inherit; color: #cc99cd;\">location<\/span> <span style=\"box-sizing: inherit; color: #67cdcc;\">~*<\/span> <span style=\"box-sizing: inherit;\">.(<\/span><span style=\"box-sizing: inherit; color: #67cdcc;\">?<\/span><span style=\"box-sizing: inherit;\">:<\/span>jpg<span style=\"box-sizing: inherit; color: #67cdcc;\">|<\/span>jpeg<span style=\"box-sizing: inherit; color: #67cdcc;\">|<\/span>gif<span style=\"box-sizing: inherit; color: #67cdcc;\">|<\/span>png<span style=\"box-sizing: inherit; color: #67cdcc;\">|<\/span>ico<span style=\"box-sizing: inherit; color: #67cdcc;\">|<\/span>woff2<span style=\"box-sizing: inherit;\">)<\/span>$ <span style=\"box-sizing: inherit;\">{<\/span>\r\n    <span style=\"box-sizing: inherit; color: #cc99cd;\">expires<\/span> 1M<span style=\"box-sizing: inherit;\">;<\/span>\r\n    <span style=\"box-sizing: inherit; color: #cc99cd;\">add_header<\/span> Cache<span style=\"box-sizing: inherit; color: #67cdcc;\">-<\/span>Control <span style=\"box-sizing: inherit; color: #7ec699;\">\"public\"<\/span><span style=\"box-sizing: inherit;\">;<\/span>\r\n<span style=\"box-sizing: inherit;\">}<\/span><\/span><\/code><\/pre>\n<hr style=\"box-sizing: content-box; height: 0px; overflow: visible; margin-top: 20px; margin-bottom: 20px; border-right: 0px; border-bottom: 0px; border-left: 0px; border-top-style: solid; border-top-color: #cccccc; color: #34495e; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif; font-size: 15px; text-align: start; white-space: normal; background-color: #ffffff;\" \/>\n<h2 style=\"box-sizing: inherit; font-weight: bold; line-height: 1.8rem; font-size: 1.8rem; margin-top: 42px; margin-bottom: 18px; margin-left: -5px; color: #34495e; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif; text-align: start; white-space: normal; background-color: #ffffff;\"><span style=\"font-size: 17px;\">\u00a03\u3001\u542f\u7528 HTTP2 \u534f\u8bae<\/span><\/h2>\n<blockquote style=\"box-sizing: inherit; margin-top: 20px; margin-bottom: 20px; padding: 1rem 0.8rem 0.2rem; border-left-width: 5px; border-left-color: #42b983; color: #666666; background-color: rgba(66, 185, 131, 0.1); font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif; text-align: start; white-space: normal;\">\n<p style=\"box-sizing: inherit; font-size: 1.05rem; line-height: 1.85rem; margin: 2px 2px 10px; text-indent: 0.2rem;\"><span style=\"box-sizing: inherit; font-weight: bold; font-size: 15px;\">Enabling HTTP\/2 Protocol Support<\/span><\/p>\n<\/blockquote>\n<p style=\"box-sizing: inherit; font-size: 1.05rem; line-height: 1.85rem; margin: 2px 2px 10px; color: #34495e; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif; text-align: start; white-space: normal; background-color: #ffffff;\"><code style=\"box-sizing: inherit; font-family: Inconsolata, Monaco, Consolas, 'courier new', Courier, monospace; font-size: 0.91rem; padding: 1px 5px; color: #e96900; background-color: #f8f8f8; border-radius: 2px; top: 13px !important;\"><span style=\"font-size: 15px;\">HTTP\/2<\/span><\/code><span style=\"font-size: 15px;\">\u00a0\u662f\u7528\u4e8e\u670d\u52a1\u7f51\u9875\u7684\u4e0b\u4e00\u4ee3\u534f\u8bae\uff0c\u65e8\u5728\u66f4\u597d\u5730\u5229\u7528\u7f51\u7edc\u548c\u4e3b\u673a\u670d\u52a1\u5668\u3002\u6839\u636eGoogle \u6587\u6863\uff0c\u5b83\u53ef\u4ee5\u66f4\u5feb\u5730\u52a0\u8f7d\u9875\u9762\u5185\u5bb9\u548c\u5904\u7406\u8bf7\u6c42\u3002<\/span><\/p>\n<pre style=\"box-sizing: inherit; font-family: Consolas, Monaco, 'andale mono', 'ubuntu mono', monospace; font-size: 1em; border-radius: 0.35rem; tab-size: 4; padding: 1em 1em 1em 3.8em; color: #cccccc; background: #2d2d2d; word-spacing: normal; word-break: normal; overflow-wrap: normal; line-height: 1.5; hyphens: none; margin-top: 0.5em; margin-bottom: 0.5em; overflow: auto; counter-reset: linenumber 0;\"><code style=\"box-sizing: inherit; font-family: Consolas, Monaco, 'andale mono', 'ubuntu mono', monospace; font-size: 1em; background: 0px 0px; border-radius: 2px; white-space: inherit; word-spacing: normal; word-break: normal; overflow-wrap: normal; line-height: 1.5; tab-size: 4; hyphens: none; top: 13px !important;\"><span style=\"font-size: 15px;\">The resulting protocol is more friendly to the network, because fewer TCP\r\nconnections are used in comparison to HTTP\/1.x. This means less competition\r\nwith other flows, and longer\u2011lived connections, which in turn leads to better\r\nutilization of available network capacity.<\/span><\/code><\/pre>\n<p style=\"box-sizing: inherit; font-size: 1.05rem; line-height: 1.85rem; margin: 2px 2px 10px; color: #34495e; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif; text-align: start; white-space: normal; background-color: #ffffff;\"><span style=\"font-size: 15px;\">\u5728\u00a0<\/span><code style=\"box-sizing: inherit; font-family: Inconsolata, Monaco, Consolas, 'courier new', Courier, monospace; font-size: 0.91rem; padding: 1px 5px; color: #e96900; background-color: #f8f8f8; border-radius: 2px; top: 13px !important;\"><span style=\"font-size: 15px;\">Nginx1.9.5<\/span><\/code><span style=\"font-size: 15px;\">\u00a0\u53ca\u66f4\u9ad8\u7248\u672c\u4e2d\u5df2\u7ecf\u652f\u6301\u4e86\u00a0<\/span><code style=\"box-sizing: inherit; font-family: Inconsolata, Monaco, Consolas, 'courier new', Courier, monospace; font-size: 0.91rem; padding: 1px 5px; color: #e96900; background-color: #f8f8f8; border-radius: 2px; top: 13px !important;\"><span style=\"font-size: 15px;\">HTTP\/2<\/span><\/code><span style=\"font-size: 15px;\">\u00a0\u534f\u8bae\uff0c\u5982\u679c\u9700\u8981\u4f7f\u7528\u6216\u542f\u7528\u00a0<\/span><code style=\"box-sizing: inherit; font-family: Inconsolata, Monaco, Consolas, 'courier new', Courier, monospace; font-size: 0.91rem; padding: 1px 5px; color: #e96900; background-color: #f8f8f8; border-radius: 2px; top: 13px !important;\"><span style=\"font-size: 15px;\">HTTP\/2<\/span><\/code><span style=\"font-size: 15px;\">\u00a0\u534f\u8bae\u7684\u8bdd\uff0c\u5728\u00a0<\/span><code style=\"box-sizing: inherit; font-family: Inconsolata, Monaco, Consolas, 'courier new', Courier, monospace; font-size: 0.91rem; padding: 1px 5px; color: #e96900; background-color: #f8f8f8; border-radius: 2px; top: 13px !important;\"><span style=\"font-size: 15px;\">Nginx<\/span><\/code><span style=\"font-size: 15px;\">\u00a0\u914d\u7f6e\u6587\u4ef6\u7684\u00a0<\/span><code style=\"box-sizing: inherit; font-family: Inconsolata, Monaco, Consolas, 'courier new', Courier, monospace; font-size: 0.91rem; padding: 1px 5px; color: #e96900; background-color: #f8f8f8; border-radius: 2px; top: 13px !important;\"><span style=\"font-size: 15px;\">listen<\/span><\/code><span style=\"font-size: 15px;\">\u00a0\u6307\u4ee4\u4e0a\u5305\u542b\u00a0<\/span><code style=\"box-sizing: inherit; font-family: Inconsolata, Monaco, Consolas, 'courier new', Courier, monospace; font-size: 0.91rem; padding: 1px 5px; color: #e96900; background-color: #f8f8f8; border-radius: 2px; top: 13px !important;\"><span style=\"font-size: 15px;\">http2<\/span><\/code><span style=\"font-size: 15px;\">\u00a0\u53c2\u6570\uff0c\u5373\u53ef\u3002\u9700\u8981\u8bf7\u6ce8\u610f\u7684\u662f\uff0c\u5728\u5927\u591a\u6570\u60c5\u51b5\u4e0b\uff0c\u8fd8\u9700\u8981\u542f\u7528\u00a0<\/span><code style=\"box-sizing: inherit; font-family: Inconsolata, Monaco, Consolas, 'courier new', Courier, monospace; font-size: 0.91rem; padding: 1px 5px; color: #e96900; background-color: #f8f8f8; border-radius: 2px; top: 13px !important;\"><span style=\"font-size: 15px;\">TLS<\/span><\/code><span style=\"font-size: 15px;\">\u00a0\u624d\u80fd\u6b63\u5e38\u4f7f\u7528\u00a0<\/span><code style=\"box-sizing: inherit; font-family: Inconsolata, Monaco, Consolas, 'courier new', Courier, monospace; font-size: 0.91rem; padding: 1px 5px; color: #e96900; background-color: #f8f8f8; border-radius: 2px; top: 13px !important;\"><span style=\"font-size: 15px;\">HTTP\/2<\/span><\/code><span style=\"font-size: 15px;\">\u00a0\u534f\u8bae\u3002<\/span><\/p>\n<pre style=\"box-sizing: inherit; font-family: Consolas, Monaco, 'andale mono', 'ubuntu mono', monospace; font-size: 1em; border-radius: 0.35rem; tab-size: 4; padding: 1em 1em 1em 3.8em; color: #cccccc; background: #2d2d2d; word-spacing: normal; word-break: normal; overflow-wrap: normal; line-height: 1.5; hyphens: none; margin-top: 0.5em; margin-bottom: 0.5em; overflow: auto; counter-reset: linenumber 0;\"><code style=\"box-sizing: inherit; font-family: Consolas, Monaco, 'andale mono', 'ubuntu mono', monospace; font-size: 1em; background: 0px 0px; border-radius: 2px; white-space: inherit; word-spacing: normal; word-break: normal; overflow-wrap: normal; line-height: 1.5; tab-size: 4; hyphens: none; top: 13px !important;\"><span style=\"font-size: 15px;\"><span style=\"box-sizing: inherit; color: #cc99cd;\">listen<\/span> <span style=\"box-sizing: inherit; color: #f08d49;\">443<\/span> <span style=\"box-sizing: inherit; color: #cc99cd;\">ssl<\/span> http2<span style=\"box-sizing: inherit;\">;<\/span><\/span><\/code><\/pre>\n<p style=\"box-sizing: inherit; font-size: 1.05rem; line-height: 1.85rem; margin: 2px 2px 10px; color: #34495e; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif; text-align: start; white-space: normal; background-color: #ffffff;\"><span style=\"font-size: 15px;\">\u4e0b\u9762\u8fd9\u7f51\u7ad9\u53ef\u4ee5\u9a8c\u8bc1\u81ea\u5df1\u7ba1\u7406\u7684\u7f51\u7ad9\u662f\u5426\u652f\u6301\u00a0<\/span><code style=\"box-sizing: inherit; font-family: Inconsolata, Monaco, Consolas, 'courier new', Courier, monospace; font-size: 0.91rem; padding: 1px 5px; color: #e96900; background-color: #f8f8f8; border-radius: 2px; top: 13px !important;\"><span style=\"font-size: 15px;\">HTTP\/2<\/span><\/code><span style=\"font-size: 15px;\">\u00a0\u7684\u534f\u8bae\u3002<\/span><\/p>\n<p style=\"text-align: center;\"><div class='fancybox-wrapper lazyload-container-unload' data-fancybox='post-images' href='https:\/\/www.xh86.me\/wp-content\/uploads\/2021\/11\/wxsync-2021-11-211e95e9e1993aa9c04bf041c78cf008.png'><img class=\"lazyload lazyload-style-1\" src=\"data:image\/svg+xml;base64,PCEtLUFyZ29uTG9hZGluZy0tPgo8c3ZnIHdpZHRoPSIxIiBoZWlnaHQ9IjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgc3Ryb2tlPSIjZmZmZmZmMDAiPjxnPjwvZz4KPC9zdmc+\"  decoding=\"async\" class=\"rich_pages wxw-img\" data-original=\"https:\/\/www.xh86.me\/wp-content\/uploads\/2021\/11\/wxsync-2021-11-211e95e9e1993aa9c04bf041c78cf008.png\" src=\"data:image\/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAAJcEhZcwAADsQAAA7EAZUrDhsAAAANSURBVBhXYzh8+PB\/AAffA0nNPuCLAAAAAElFTkSuQmCC\" data-galleryid=\"\" data-ratio=\"0.592948717948718\" data-s=\"300,640\" data-type=\"png\" data-w=\"936\" \/><\/div><\/p>\n<h2 style=\"box-sizing: inherit; font-weight: bold; line-height: 1.8rem; font-size: 1.8rem; margin-top: 42px; margin-bottom: 18px; margin-left: -5px; color: #34495e; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif; text-align: start; white-space: normal; background-color: #ffffff;\"><span style=\"font-size: 17px;\">\u00a04\u3001\u4f18\u5316\u65e5\u5fd7<\/span><\/h2>\n<blockquote style=\"box-sizing: inherit; margin-top: 20px; margin-bottom: 20px; padding: 1rem 0.8rem 0.2rem; border-left-width: 5px; border-left-color: #42b983; color: #666666; background-color: rgba(66, 185, 131, 0.1); font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif; text-align: start; white-space: normal;\">\n<p style=\"box-sizing: inherit; font-size: 1.05rem; line-height: 1.85rem; margin: 2px 2px 10px; text-indent: 0.2rem;\"><span style=\"box-sizing: inherit; font-weight: bold; font-size: 15px;\">Optimizing Logging<\/span><\/p>\n<\/blockquote>\n<p style=\"box-sizing: inherit; font-size: 1.05rem; line-height: 1.85rem; margin: 2px 2px 10px; color: #34495e; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif; text-align: start; white-space: normal; background-color: #ffffff;\"><span style=\"font-size: 15px;\">\u6211\u4eec\u5728\u7ba1\u7406\u7f51\u7ad9\u7684\u65f6\u5019\uff0c\u5373\u4f7f\u662f\u6709\u5bf9\u5e94\u7684\u76d1\u63a7\u670d\u52a1\uff0c\u4f46\u662f\u5bf9\u5e94\u65e5\u5fd7\u5206\u6790\u8fd8\u662f\u4e0d\u591f\u5230\u4f4d\u3002\u4f60\u4e5f\u53ef\u80fd\u53ea\u5173\u6ce8\u9519\u8bef(<\/span><code style=\"box-sizing: inherit; font-family: Inconsolata, Monaco, Consolas, 'courier new', Courier, monospace; font-size: 0.91rem; padding: 1px 5px; color: #e96900; background-color: #f8f8f8; border-radius: 2px; top: 13px !important;\"><span style=\"font-size: 15px;\">400<\/span><\/code><span style=\"font-size: 15px;\">\u00a0\u548c\u00a0<\/span><code style=\"box-sizing: inherit; font-family: Inconsolata, Monaco, Consolas, 'courier new', Courier, monospace; font-size: 0.91rem; padding: 1px 5px; color: #e96900; background-color: #f8f8f8; border-radius: 2px; top: 13px !important;\"><span style=\"font-size: 15px;\">500<\/span><\/code><span style=\"font-size: 15px;\">\u00a0\u4e2a\u72b6\u6001\u7801\u7b49\u7b49)\uff0c\u800c\u4e0d\u662f\u6210\u529f\u7684\u8bf7\u6c42\u3002\u901a\u8fc7\u51cf\u5c11\u4e0d\u5fc5\u8981\u7684\u65e5\u5fd7\u8bb0\u5f55\uff0c\u53ef\u4ee5\u8282\u7701\u670d\u52a1\u5668\u4e0a\u7684\u78c1\u76d8\u5b58\u50a8\u3001<\/span><code style=\"box-sizing: inherit; font-family: Inconsolata, Monaco, Consolas, 'courier new', Courier, monospace; font-size: 0.91rem; padding: 1px 5px; color: #e96900; background-color: #f8f8f8; border-radius: 2px; top: 13px !important;\"><span style=\"font-size: 15px;\">CPU<\/span><\/code><span style=\"font-size: 15px;\">\u00a0\u548c\u00a0<\/span><code style=\"box-sizing: inherit; font-family: Inconsolata, Monaco, Consolas, 'courier new', Courier, monospace; font-size: 0.91rem; padding: 1px 5px; color: #e96900; background-color: #f8f8f8; border-radius: 2px; top: 13px !important;\"><span style=\"font-size: 15px;\">I\/O<\/span><\/code><span style=\"font-size: 15px;\">\u00a0\u64cd\u4f5c\u3002\u8fd9\u4e0d\u4ec5\u53ef\u4ee5\u8ba9\u6211\u4eec\u670d\u52a1\u5668\u66f4\u5feb\u4e00\u4e9b\uff0c\u800c\u4e14\u91ca\u653e\u7684\u8d44\u6e90\u53ef\u4ee5\u7528\u6765\u8fd0\u884c\u5176\u4ed6\u670d\u52a1\u3002<\/span><\/p>\n<p style=\"box-sizing: inherit; font-size: 1.05rem; line-height: 1.85rem; margin: 2px 2px 10px; color: #34495e; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif; text-align: start; white-space: normal; background-color: #ffffff;\"><span style=\"font-size: 15px;\">\u6709\u51e0\u79cd\u4e0d\u540c\u7684\u65b9\u6cd5\u53ef\u4ee5\u51cf\u5c11\u548c\u4f18\u5316\u65e5\u5fd7\u8bb0\u5f55\uff0c\u4f46\u662f\u5728\u8fd9\u91cc\uff0c\u6211\u4eec\u91cd\u70b9\u4ecb\u7ecd\u4e09\u4e2a\u3002<\/span><\/p>\n<ul class=\"list-paddingleft-2\" style=\"box-sizing: inherit; list-style-type: none; word-spacing: 0.05rem; color: #34495e; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif; font-size: 15px; text-align: start; white-space: normal; background-color: #ffffff; padding-left: 2em !important;\">\n<li style=\"box-sizing: inherit; list-style-type: disc; line-height: 1.8rem; font-size: 15px;\"><span style=\"box-sizing: inherit; font-weight: bold; font-size: 15px;\">[1] \u7981\u7528\u9875\u9762\u8d44\u6e90\u8bf7\u6c42\u7684\u65e5\u5fd7\u8bb0\u5f55<\/span><\/li>\n<\/ul>\n<p style=\"box-sizing: inherit; font-size: 1.05rem; line-height: 1.85rem; margin: 2px 2px 10px; color: #34495e; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif; text-align: start; white-space: normal; background-color: #ffffff;\"><span style=\"font-size: 15px;\">\u5982\u679c\u6211\u4eec\u4e0d\u9700\u8981\u8bb0\u5f55\u68c0\u7d22\u666e\u901a\u9875\u9762\u8d44\u6e90\u7684\u8bf7\u6c42\uff0c\u6bd4\u5982\u56fe\u50cf\u6587\u4ef6\u3001<\/span><code style=\"box-sizing: inherit; font-family: Inconsolata, Monaco, Consolas, 'courier new', Courier, monospace; font-size: 0.91rem; padding: 1px 5px; color: #e96900; background-color: #f8f8f8; border-radius: 2px; top: 13px !important;\"><span style=\"font-size: 15px;\">JavaScript<\/span><\/code><span style=\"font-size: 15px;\">\u00a0\u6587\u4ef6\u548c\u00a0<\/span><code style=\"box-sizing: inherit; font-family: Inconsolata, Monaco, Consolas, 'courier new', Courier, monospace; font-size: 0.91rem; padding: 1px 5px; color: #e96900; background-color: #f8f8f8; border-radius: 2px; top: 13px !important;\"><span style=\"font-size: 15px;\">CSS<\/span><\/code><span style=\"font-size: 15px;\">\u00a0\u6587\u4ef6\u7b49\u7b49\uff0c\u90a3\u4e48\u8fd9\u662f\u4e00\u4e2a\u5feb\u901f\u800c\u7b80\u5355\u7684\u89e3\u51b3\u65b9\u6848\u3002\u4f60\u6240\u9700\u8981\u505a\u7684\u5c31\u662f\u521b\u5efa\u4e00\u4e2a\u4e0e\u8fd9\u4e9b\u6587\u4ef6\u7c7b\u578b\u5339\u914d\u7684\u00a0<\/span><code style=\"box-sizing: inherit; font-family: Inconsolata, Monaco, Consolas, 'courier new', Courier, monospace; font-size: 0.91rem; padding: 1px 5px; color: #e96900; background-color: #f8f8f8; border-radius: 2px; top: 13px !important;\"><span style=\"font-size: 15px;\">location<\/span><\/code><span style=\"font-size: 15px;\">\u00a0\u5757\uff0c\u5e76\u914d\u7f6e\u7981\u7528\u5176\u4e2d\u7684\u65e5\u5fd7\u8bb0\u5f55\u3002<\/span><\/p>\n<pre style=\"box-sizing: inherit; font-family: Consolas, Monaco, 'andale mono', 'ubuntu mono', monospace; font-size: 1em; border-radius: 0.35rem; tab-size: 4; padding: 1em 1em 1em 3.8em; color: #cccccc; background: #2d2d2d; word-spacing: normal; word-break: normal; overflow-wrap: normal; line-height: 1.5; hyphens: none; margin-top: 0.5em; margin-bottom: 0.5em; overflow: auto; counter-reset: linenumber 0;\"><code style=\"box-sizing: inherit; font-family: Consolas, Monaco, 'andale mono', 'ubuntu mono', monospace; font-size: 1em; background: 0px 0px; border-radius: 2px; white-space: inherit; word-spacing: normal; word-break: normal; overflow-wrap: normal; line-height: 1.5; tab-size: 4; hyphens: none; top: 13px !important;\"><span style=\"font-size: 15px;\"><span style=\"box-sizing: inherit; color: #cc99cd;\">location<\/span> <span style=\"box-sizing: inherit; color: #67cdcc;\">~*<\/span> <span style=\"box-sizing: inherit;\">.(<\/span><span style=\"box-sizing: inherit; color: #67cdcc;\">?<\/span><span style=\"box-sizing: inherit;\">:<\/span>jpg<span style=\"box-sizing: inherit; color: #67cdcc;\">|<\/span>jpeg<span style=\"box-sizing: inherit; color: #67cdcc;\">|<\/span>gif<span style=\"box-sizing: inherit; color: #67cdcc;\">|<\/span>png<span style=\"box-sizing: inherit; color: #67cdcc;\">|<\/span>ico<span style=\"box-sizing: inherit; color: #67cdcc;\">|<\/span>woff2<span style=\"box-sizing: inherit; color: #67cdcc;\">|<\/span>js<span style=\"box-sizing: inherit; color: #67cdcc;\">|<\/span>css<span style=\"box-sizing: inherit;\">)<\/span>$ <span style=\"box-sizing: inherit;\">{<\/span>\r\n    <span style=\"box-sizing: inherit; color: #cc99cd;\">access_log<\/span> off<span style=\"box-sizing: inherit;\">;<\/span>\r\n<span style=\"box-sizing: inherit;\">}<\/span><\/span><\/code><\/pre>\n<ul class=\"list-paddingleft-2\" style=\"box-sizing: inherit; list-style-type: none; word-spacing: 0.05rem; color: #34495e; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif; font-size: 15px; text-align: start; white-space: normal; background-color: #ffffff; padding-left: 2em !important;\">\n<li style=\"box-sizing: inherit; list-style-type: disc; line-height: 1.8rem; font-size: 15px;\"><span style=\"box-sizing: inherit; font-weight: bold; font-size: 15px;\">[2] \u7981\u7528\u6210\u529f\u8bf7\u6c42\u7684\u65e5\u5fd7\u8bb0\u5f55<\/span><\/li>\n<\/ul>\n<p style=\"box-sizing: inherit; font-size: 1.05rem; line-height: 1.85rem; margin: 2px 2px 10px; color: #34495e; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif; text-align: start; white-space: normal; background-color: #ffffff;\"><span style=\"font-size: 15px;\">\u8fd9\u662f\u4e00\u79cd\u66f4\u597d\u7684\u65b9\u6cd5\uff0c\u56e0\u4e3a\u5b83\u4f1a\u4e22\u5f03\u5e26\u6709\u00a0<\/span><code style=\"box-sizing: inherit; font-family: Inconsolata, Monaco, Consolas, 'courier new', Courier, monospace; font-size: 0.91rem; padding: 1px 5px; color: #e96900; background-color: #f8f8f8; border-radius: 2px; top: 13px !important;\"><span style=\"font-size: 15px;\">2xx<\/span><\/code><span style=\"font-size: 15px;\">\u00a0\u6216\u00a0<\/span><code style=\"box-sizing: inherit; font-family: Inconsolata, Monaco, Consolas, 'courier new', Courier, monospace; font-size: 0.91rem; padding: 1px 5px; color: #e96900; background-color: #f8f8f8; border-radius: 2px; top: 13px !important;\"><span style=\"font-size: 15px;\">3xx<\/span><\/code><span style=\"font-size: 15px;\">\u00a0\u7684\u54cd\u5e94\u67e5\u8be2\uff0c\u4ec5\u8bb0\u5f55\u9519\u8bef\u8bf7\u6c42\u3002\u5b83\u6bd4\u65b9\u6cd5\u00a0<\/span><code style=\"box-sizing: inherit; font-family: Inconsolata, Monaco, Consolas, 'courier new', Courier, monospace; font-size: 0.91rem; padding: 1px 5px; color: #e96900; background-color: #f8f8f8; border-radius: 2px; top: 13px !important;\"><span style=\"font-size: 15px;\">1<\/span><\/code><span style=\"font-size: 15px;\">\u00a0\u7a0d\u5fae\u590d\u6742\u4e00\u70b9\uff0c\u56e0\u4e3a\u5b83\u53d6\u51b3\u4e8e\u60a8\u7684\u00a0<\/span><code style=\"box-sizing: inherit; font-family: Inconsolata, Monaco, Consolas, 'courier new', Courier, monospace; font-size: 0.91rem; padding: 1px 5px; color: #e96900; background-color: #f8f8f8; border-radius: 2px; top: 13px !important;\"><span style=\"font-size: 15px;\">Nginx<\/span><\/code><span style=\"font-size: 15px;\">\u00a0\u65e5\u5fd7\u8bb0\u5f55\u7684\u914d\u7f6e\u65b9\u5f0f\u3002<\/span><\/p>\n<p style=\"box-sizing: inherit; font-size: 1.05rem; line-height: 1.85rem; margin: 2px 2px 10px; color: #34495e; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif; text-align: start; white-space: normal; background-color: #ffffff;\"><span style=\"font-size: 15px;\">\u4f7f\u7528\u00a0<\/span><code style=\"box-sizing: inherit; font-family: Inconsolata, Monaco, Consolas, 'courier new', Courier, monospace; font-size: 0.91rem; padding: 1px 5px; color: #e96900; background-color: #f8f8f8; border-radius: 2px; top: 13px !important;\"><span style=\"font-size: 15px;\">Nginx<\/span><\/code><span style=\"font-size: 15px;\">\u00a0\u5b98\u65b9\u6587\u6863\u4e2d\u7684\u793a\u4f8b\uff0c\u8ba9\u6211\u4eec\u6253\u5f00\u6761\u4ef6\u65e5\u5fd7\u8bb0\u5f55\u3002\u521b\u5efa\u4e00\u4e2a\u00a0<\/span><code style=\"box-sizing: inherit; font-family: Inconsolata, Monaco, Consolas, 'courier new', Courier, monospace; font-size: 0.91rem; padding: 1px 5px; color: #e96900; background-color: #f8f8f8; border-radius: 2px; top: 13px !important;\"><span style=\"font-size: 15px;\">$loggable<\/span><\/code><span style=\"font-size: 15px;\">\u00a0\u7684\u53d8\u91cf\u5e76\u5c06\u5176\u8bbe\u7f6e\u4e3a\u00a0<\/span><code style=\"box-sizing: inherit; font-family: Inconsolata, Monaco, Consolas, 'courier new', Courier, monospace; font-size: 0.91rem; padding: 1px 5px; color: #e96900; background-color: #f8f8f8; border-radius: 2px; top: 13px !important;\"><span style=\"font-size: 15px;\">0<\/span><\/code><span style=\"font-size: 15px;\">\uff0c\u7528\u4e8e\u5e26\u6709\u00a0<\/span><code style=\"box-sizing: inherit; font-family: Inconsolata, Monaco, Consolas, 'courier new', Courier, monospace; font-size: 0.91rem; padding: 1px 5px; color: #e96900; background-color: #f8f8f8; border-radius: 2px; top: 13px !important;\"><span style=\"font-size: 15px;\">2xx<\/span><\/code><span style=\"font-size: 15px;\">\u00a0\u548c\u00a0<\/span><code style=\"box-sizing: inherit; font-family: Inconsolata, Monaco, Consolas, 'courier new', Courier, monospace; font-size: 0.91rem; padding: 1px 5px; color: #e96900; background-color: #f8f8f8; border-radius: 2px; top: 13px !important;\"><span style=\"font-size: 15px;\">3xx<\/span><\/code><span style=\"font-size: 15px;\">\u00a0\u54cd\u5e94\u4ee3\u7801\u7684\u65e5\u5fd7\u8bf7\u6c42\uff0c\u5426\u5219\u8bbe\u7f6e\u4e3a\u00a0<\/span><code style=\"box-sizing: inherit; font-family: Inconsolata, Monaco, Consolas, 'courier new', Courier, monospace; font-size: 0.91rem; padding: 1px 5px; color: #e96900; background-color: #f8f8f8; border-radius: 2px; top: 13px !important;\"><span style=\"font-size: 15px;\">1<\/span><\/code><span style=\"font-size: 15px;\">\uff0c\u5373\u53ef\u3002\u7136\u540e\u5728\u00a0<\/span><code style=\"box-sizing: inherit; font-family: Inconsolata, Monaco, Consolas, 'courier new', Courier, monospace; font-size: 0.91rem; padding: 1px 5px; color: #e96900; background-color: #f8f8f8; border-radius: 2px; top: 13px !important;\"><span style=\"font-size: 15px;\">access_log<\/span><\/code><span style=\"font-size: 15px;\">\u00a0\u6307\u4ee4\u4e2d\uff0c\u5c06\u8be5\u53d8\u91cf\u4f5c\u4e3a\u6761\u4ef6\u5f15\u7528\u3002<\/span><\/p>\n<pre style=\"box-sizing: inherit; font-family: Consolas, Monaco, 'andale mono', 'ubuntu mono', monospace; font-size: 1em; border-radius: 0.35rem; tab-size: 4; padding: 1em 1em 1em 3.8em; color: #cccccc; background: #2d2d2d; word-spacing: normal; word-break: normal; overflow-wrap: normal; line-height: 1.5; hyphens: none; margin-top: 0.5em; margin-bottom: 0.5em; overflow: auto; counter-reset: linenumber 0;\"><code style=\"box-sizing: inherit; font-family: Consolas, Monaco, 'andale mono', 'ubuntu mono', monospace; font-size: 1em; background: 0px 0px; border-radius: 2px; white-space: inherit; word-spacing: normal; word-break: normal; overflow-wrap: normal; line-height: 1.5; tab-size: 4; hyphens: none; top: 13px !important;\"><span style=\"font-size: 15px;\"><span style=\"box-sizing: inherit; color: #999999;\" spellcheck=\"true\"># \/etc\/nginx\/nginx.conf<\/span>\r\n<span style=\"box-sizing: inherit; color: #cc99cd;\">access_log<\/span> <span style=\"box-sizing: inherit; color: #67cdcc;\">\/<\/span>var<span style=\"box-sizing: inherit; color: #67cdcc;\">\/<\/span>log<span style=\"box-sizing: inherit; color: #67cdcc;\">\/<\/span>nginx<span style=\"box-sizing: inherit; color: #67cdcc;\">\/<\/span>access<span style=\"box-sizing: inherit;\">.<\/span>log<span style=\"box-sizing: inherit;\">;<\/span><\/span><\/code><\/pre>\n<pre style=\"box-sizing: inherit; font-family: Consolas, Monaco, 'andale mono', 'ubuntu mono', monospace; font-size: 1em; border-radius: 0.35rem; tab-size: 4; padding: 1em 1em 1em 3.8em; color: #cccccc; background: #2d2d2d; word-spacing: normal; word-break: normal; overflow-wrap: normal; line-height: 1.5; hyphens: none; margin-top: 0.5em; margin-bottom: 0.5em; overflow: auto; counter-reset: linenumber 0;\"><code style=\"box-sizing: inherit; font-family: Consolas, Monaco, 'andale mono', 'ubuntu mono', monospace; font-size: 1em; background: 0px 0px; border-radius: 2px; white-space: inherit; word-spacing: normal; word-break: normal; overflow-wrap: normal; line-height: 1.5; tab-size: 4; hyphens: none; top: 13px !important;\"><span style=\"font-size: 15px;\"><span style=\"box-sizing: inherit; color: #999999;\" spellcheck=\"true\"># access_log directive<\/span>\r\n<span style=\"box-sizing: inherit; color: #cc99cd;\">map<\/span> <span style=\"box-sizing: inherit; color: #7ec699;\">$status<\/span> <span style=\"box-sizing: inherit; color: #7ec699;\">$loggable<\/span> <span style=\"box-sizing: inherit;\">{<\/span>\r\n    <span style=\"box-sizing: inherit; color: #67cdcc;\">~^<\/span><span style=\"box-sizing: inherit;\">[<\/span><span style=\"box-sizing: inherit; color: #f08d49;\">23<\/span><span style=\"box-sizing: inherit;\">]<\/span> <span style=\"box-sizing: inherit; color: #f08d49;\">0<\/span><span style=\"box-sizing: inherit;\">;<\/span>\r\n    default <span style=\"box-sizing: inherit; color: #f08d49;\">1<\/span><span style=\"box-sizing: inherit;\">;<\/span>\r\n<span style=\"box-sizing: inherit;\">}<\/span><\/span><\/code><\/pre>\n<p><span style=\"box-sizing: inherit; color: #cc99cd;\">access_log<\/span> <span style=\"box-sizing: inherit; color: #67cdcc;\">\/<\/span>var<span style=\"box-sizing: inherit; color: #67cdcc;\">\/<\/span>log<span style=\"box-sizing: inherit; color: #67cdcc;\">\/<\/span>nginx<span style=\"box-sizing: inherit; color: #67cdcc;\">\/<\/span>access<span style=\"box-sizing: inherit;\">.<\/span>log combined <span style=\"box-sizing: inherit; color: #cc99cd;\">if<\/span><span style=\"box-sizing: inherit; color: #67cdcc;\">=<\/span><span style=\"box-sizing: inherit; color: #7ec699;\">$loggable<\/span><span style=\"box-sizing: inherit;\">;<\/span><\/p>\n<pre style=\"box-sizing: inherit; font-family: Consolas, Monaco, 'andale mono', 'ubuntu mono', monospace; font-size: 1em; border-radius: 0.35rem; tab-size: 4; padding: 1em 1em 1em 3.8em; color: #cccccc; background: #2d2d2d; word-spacing: normal; word-break: normal; overflow-wrap: normal; line-height: 1.5; hyphens: none; margin-top: 0.5em; margin-bottom: 0.5em; overflow: auto; counter-reset: linenumber 0;\"><code style=\"box-sizing: inherit; font-family: Consolas, Monaco, 'andale mono', 'ubuntu mono', monospace; font-size: 1em; background: 0px 0px; border-radius: 2px; white-space: inherit; word-spacing: normal; word-break: normal; overflow-wrap: normal; line-height: 1.5; tab-size: 4; hyphens: none; top: 13px !important;\"><\/code><\/pre>\n<ul class=\"list-paddingleft-2\" style=\"box-sizing: inherit; list-style-type: none; word-spacing: 0.05rem; color: #34495e; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif; font-size: 15px; text-align: start; white-space: normal; background-color: #ffffff; padding-left: 2em !important;\">\n<li style=\"box-sizing: inherit; list-style-type: disc; line-height: 1.8rem; font-size: 15px;\"><span style=\"box-sizing: inherit; font-weight: bold; font-size: 15px;\">[3] \u6700\u5c0f\u5316 I\/O \u64cd\u4f5c<\/span><\/li>\n<\/ul>\n<p style=\"box-sizing: inherit; font-size: 1.05rem; line-height: 1.85rem; margin: 2px 2px 10px; color: #34495e; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif; text-align: start; white-space: normal; background-color: #ffffff;\"><span style=\"font-size: 15px;\">\u5373\u4f7f\u4f60\u8981\u8bb0\u5f55\u6240\u6709\u8bf7\u6c42\uff0c\u4e5f\u53ef\u4ee5\u901a\u8fc7\u6253\u5f00\u8bbf\u95ee\u65e5\u5fd7\u7f13\u51b2\u6765\u6700\u5927\u7a0b\u5ea6\u5730\u51cf\u5c11\u00a0<\/span><code style=\"box-sizing: inherit; font-family: Inconsolata, Monaco, Consolas, 'courier new', Courier, monospace; font-size: 0.91rem; padding: 1px 5px; color: #e96900; background-color: #f8f8f8; border-radius: 2px; top: 13px !important;\"><span style=\"font-size: 15px;\">I\/O<\/span><\/code><span style=\"font-size: 15px;\">\u00a0\u64cd\u4f5c\u3002\u4f7f\u7528\u6b64\u6307\u4ee4\uff0c<\/span><code style=\"box-sizing: inherit; font-family: Inconsolata, Monaco, Consolas, 'courier new', Courier, monospace; font-size: 0.91rem; padding: 1px 5px; color: #e96900; background-color: #f8f8f8; border-radius: 2px; top: 13px !important;\"><span style=\"font-size: 15px;\">Nginx<\/span><\/code><span style=\"font-size: 15px;\">\u00a0\u5c06\u7b49\u5f85\u5c06\u65e5\u5fd7\u6570\u636e\u5199\u5165\u78c1\u76d8\uff0c\u76f4\u5230\u586b\u6ee1\u00a0<\/span><code style=\"box-sizing: inherit; font-family: Inconsolata, Monaco, Consolas, 'courier new', Courier, monospace; font-size: 0.91rem; padding: 1px 5px; color: #e96900; background-color: #f8f8f8; border-radius: 2px; top: 13px !important;\"><span style=\"font-size: 15px;\">512KB<\/span><\/code><span style=\"font-size: 15px;\">\u00a0\u7f13\u51b2\u533a\u6216\u81ea\u4e0a\u6b21\u5237\u65b0\u4ee5\u6765\u5df2\u8fc7\u4e86\u00a0<\/span><code style=\"box-sizing: inherit; font-family: Inconsolata, Monaco, Consolas, 'courier new', Courier, monospace; font-size: 0.91rem; padding: 1px 5px; color: #e96900; background-color: #f8f8f8; border-radius: 2px; top: 13px !important;\"><span style=\"font-size: 15px;\">1<\/span><\/code><span style=\"font-size: 15px;\">\u00a0\u5206\u949f\uff08\u4ee5\u5148\u53d1\u751f\u8005\u4e3a\u51c6\uff09\u3002<\/span><\/p>\n<pre style=\"box-sizing: inherit; font-family: Consolas, Monaco, 'andale mono', 'ubuntu mono', monospace; font-size: 1em; border-radius: 0.35rem; tab-size: 4; padding: 1em 1em 1em 3.8em; color: #cccccc; background: #2d2d2d; word-spacing: normal; word-break: normal; overflow-wrap: normal; line-height: 1.5; hyphens: none; margin-top: 0.5em; margin-bottom: 0.5em; overflow: auto; counter-reset: linenumber 0;\"><code style=\"box-sizing: inherit; font-family: Consolas, Monaco, 'andale mono', 'ubuntu mono', monospace; font-size: 1em; background: 0px 0px; border-radius: 2px; white-space: inherit; word-spacing: normal; word-break: normal; overflow-wrap: normal; line-height: 1.5; tab-size: 4; hyphens: none; top: 13px !important;\"><span style=\"font-size: 15px;\"><span style=\"box-sizing: inherit; color: #cc99cd;\">access_log<\/span> <span style=\"box-sizing: inherit; color: #67cdcc;\">\/<\/span>var<span style=\"box-sizing: inherit; color: #67cdcc;\">\/<\/span>log<span style=\"box-sizing: inherit; color: #67cdcc;\">\/<\/span>nginx<span style=\"box-sizing: inherit; color: #67cdcc;\">\/<\/span>access<span style=\"box-sizing: inherit;\">.<\/span>log combined buffer<span style=\"box-sizing: inherit; color: #67cdcc;\">=<\/span>512k flush<span style=\"box-sizing: inherit; color: #67cdcc;\">=<\/span>1m<span style=\"box-sizing: inherit;\">;<\/span><\/span><\/code><\/pre>\n<hr style=\"box-sizing: content-box; height: 0px; overflow: visible; margin-top: 20px; margin-bottom: 20px; border-right: 0px; border-bottom: 0px; border-left: 0px; border-top-style: solid; border-top-color: #cccccc; color: #34495e; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif; font-size: 15px; text-align: start; white-space: normal; background-color: #ffffff;\" \/>\n<h2 style=\"box-sizing: inherit; font-weight: bold; line-height: 1.8rem; font-size: 1.8rem; margin-top: 42px; margin-bottom: 18px; margin-left: -5px; color: #34495e; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif; text-align: start; white-space: normal; background-color: #ffffff;\"><span style=\"font-size: 17px;\">\u00a05\u3001\u9650\u5236\u5e26\u5bbd<\/span><\/h2>\n<blockquote style=\"box-sizing: inherit; margin-top: 20px; margin-bottom: 20px; padding: 1rem 0.8rem 0.2rem; border-left-width: 5px; border-left-color: #42b983; color: #666666; background-color: rgba(66, 185, 131, 0.1); font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif; text-align: start; white-space: normal;\">\n<p style=\"box-sizing: inherit; font-size: 1.05rem; line-height: 1.85rem; margin: 2px 2px 10px; text-indent: 0.2rem;\"><span style=\"box-sizing: inherit; font-weight: bold; font-size: 15px;\">Limiting Bandwidth for Particular URLs<\/span><\/p>\n<\/blockquote>\n<p style=\"box-sizing: inherit; font-size: 1.05rem; line-height: 1.85rem; margin: 2px 2px 10px; color: #34495e; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif; text-align: start; white-space: normal; background-color: #ffffff;\"><span style=\"font-size: 15px;\">\u5982\u679c\u670d\u52a1\u5668\u63d0\u4f9b\u8f83\u5927\u7684\u6587\u4ef6(\u6216\u8f83\u5c0f\u4f46\u975e\u5e38\u53d7\u6b22\u8fce\u7684\u6587\u4ef6\uff0c\u4f8b\u5982\u8868\u5355\u6216\u62a5\u8868\u6587\u4ef6\u7b49)\uff0c\u5219\u8bbe\u7f6e\u5ba2\u6237\u7aef\u4e0b\u8f7d\u6587\u4ef6\u7684\u6700\u5927\u901f\u5ea6\u53ef\u80fd\u662f\u4e00\u4e2a\u975e\u5e38\u6709\u7528\u7684\u9009\u62e9\u3002\u5982\u679c\u4f60\u7684\u7ad9\u70b9\u5df2\u7ecf\u627f\u53d7\u4e86\u5f88\u9ad8\u7684\u7f51\u7edc\u8d1f\u8f7d\uff0c\u5219\u9650\u5236\u4e0b\u8f7d\u901f\u5ea6\u4f1a\u7559\u4e0b\u66f4\u591a\u5e26\u5bbd\uff0c\u4ee5\u4f7f\u5e94\u7528\u7a0b\u5e8f\u7684\u5173\u952e\u90e8\u5206\u4fdd\u6301\u54cd\u5e94\uff0c\u8fd9\u662f\u786c\u4ef6\u5236\u9020\u5546\u4f7f\u7528\u7684\u975e\u5e38\u53d7\u6b22\u8fce\u7684\u89e3\u51b3\u65b9\u6848\u3002<\/span><\/p>\n<p style=\"box-sizing: inherit; font-size: 1.05rem; line-height: 1.85rem; margin: 2px 2px 10px; color: #34495e; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif; text-align: start; white-space: normal; background-color: #ffffff;\"><span style=\"font-size: 15px;\">\u4f7f\u7528\u00a0<\/span><code style=\"box-sizing: inherit; font-family: Inconsolata, Monaco, Consolas, 'courier new', Courier, monospace; font-size: 0.91rem; padding: 1px 5px; color: #e96900; background-color: #f8f8f8; border-radius: 2px; top: 13px !important;\"><span style=\"font-size: 15px;\">limit_rate<\/span><\/code><span style=\"font-size: 15px;\">\u00a0\u6307\u4ee4\u6765\u9650\u5236\u7279\u5b9a\u00a0<\/span><code style=\"box-sizing: inherit; font-family: Inconsolata, Monaco, Consolas, 'courier new', Courier, monospace; font-size: 0.91rem; padding: 1px 5px; color: #e96900; background-color: #f8f8f8; border-radius: 2px; top: 13px !important;\"><span style=\"font-size: 15px;\">URL<\/span><\/code><span style=\"font-size: 15px;\">\u00a0\u7684\u5e26\u5bbd\u3002\u5728\u8fd9\u91cc\uff0c\u6211\u4eec\u5c06\u00a0<\/span><code style=\"box-sizing: inherit; font-family: Inconsolata, Monaco, Consolas, 'courier new', Courier, monospace; font-size: 0.91rem; padding: 1px 5px; color: #e96900; background-color: #f8f8f8; border-radius: 2px; top: 13px !important;\"><span style=\"font-size: 15px;\">\/download<\/span><\/code><span style=\"font-size: 15px;\">\u00a0\u4e0b\u6bcf\u4e2a\u6587\u4ef6\u7684\u4f20\u8f93\u901f\u7387\u9650\u5236\u4e3a\u6bcf\u79d2\u00a0<\/span><code style=\"box-sizing: inherit; font-family: Inconsolata, Monaco, Consolas, 'courier new', Courier, monospace; font-size: 0.91rem; padding: 1px 5px; color: #e96900; background-color: #f8f8f8; border-radius: 2px; top: 13px !important;\"><span style=\"font-size: 15px;\">50KB<\/span><\/code><span style=\"font-size: 15px;\">\u00a0\u7684\u901f\u5ea6\u3002<\/span><\/p>\n<pre style=\"box-sizing: inherit; font-family: Consolas, Monaco, 'andale mono', 'ubuntu mono', monospace; font-size: 1em; border-radius: 0.35rem; tab-size: 4; padding: 1em 1em 1em 3.8em; color: #cccccc; background: #2d2d2d; word-spacing: normal; word-break: normal; overflow-wrap: normal; line-height: 1.5; hyphens: none; margin-top: 0.5em; margin-bottom: 0.5em; overflow: auto; counter-reset: linenumber 0;\"><code style=\"box-sizing: inherit; font-family: Consolas, Monaco, 'andale mono', 'ubuntu mono', monospace; font-size: 1em; background: 0px 0px; border-radius: 2px; white-space: inherit; word-spacing: normal; word-break: normal; overflow-wrap: normal; line-height: 1.5; tab-size: 4; hyphens: none; top: 13px !important;\"><span style=\"font-size: 15px;\"><span style=\"box-sizing: inherit; color: #cc99cd;\">location<\/span> <span style=\"box-sizing: inherit; color: #67cdcc;\">\/<\/span>download<span style=\"box-sizing: inherit; color: #67cdcc;\">\/<\/span> <span style=\"box-sizing: inherit;\">{<\/span>\r\n    <span style=\"box-sizing: inherit; color: #cc99cd;\">limit_rate<\/span> 50k<span style=\"box-sizing: inherit;\">;<\/span>\r\n<span style=\"box-sizing: inherit;\">}<\/span><\/span><\/code><\/pre>\n<p style=\"box-sizing: inherit; font-size: 1.05rem; line-height: 1.85rem; margin: 2px 2px 10px; color: #34495e; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif; text-align: start; white-space: normal; background-color: #ffffff;\"><span style=\"font-size: 15px;\">\u4f60\u53ef\u80fd\u8fd8\u5e0c\u671b\u4ec5\u5bf9\u8f83\u5927\u7684\u6587\u4ef6\u8fdb\u884c\u901f\u7387\u9650\u5236\uff0c\u8fd9\u53ef\u4ee5\u901a\u8fc7\u00a0<\/span><code style=\"box-sizing: inherit; font-family: Inconsolata, Monaco, Consolas, 'courier new', Courier, monospace; font-size: 0.91rem; padding: 1px 5px; color: #e96900; background-color: #f8f8f8; border-radius: 2px; top: 13px !important;\"><span style=\"font-size: 15px;\">limit_rate_after<\/span><\/code><span style=\"font-size: 15px;\">\u00a0\u6307\u4ee4\u8fdb\u884c\u3002\u5728\u6b64\u793a\u4f8b\u4e2d\uff0c\u6bcf\u4e2a\u6587\u4ef6(\u6765\u81ea\u4efb\u4f55\u76ee\u5f55)\u7684\u524d\u00a0<\/span><code style=\"box-sizing: inherit; font-family: Inconsolata, Monaco, Consolas, 'courier new', Courier, monospace; font-size: 0.91rem; padding: 1px 5px; color: #e96900; background-color: #f8f8f8; border-radius: 2px; top: 13px !important;\"><span style=\"font-size: 15px;\">500KB<\/span><\/code><span style=\"font-size: 15px;\">\u00a0\u90fd\u4e0d\u53d7\u901f\u5ea6\u9650\u5236\u5730\u8fdb\u884c\u4f20\u8f93\uff0c\u4e4b\u540e\u7684\u6240\u6709\u5185\u5bb9\u5747\u4ee5\u00a0<\/span><code style=\"box-sizing: inherit; font-family: Inconsolata, Monaco, Consolas, 'courier new', Courier, monospace; font-size: 0.91rem; padding: 1px 5px; color: #e96900; background-color: #f8f8f8; border-radius: 2px; top: 13px !important;\"><span style=\"font-size: 15px;\">50KB\/s<\/span><\/code><span style=\"font-size: 15px;\">\u00a0\u7684\u901f\u5ea6\u4e3a\u4e0a\u9650\u3002\u8fd9\u6837\u53ef\u4ee5\u52a0\u5feb\u7f51\u7ad9\u5173\u952e\u90e8\u5206\u7684\u4ea4\u4ed8\u901f\u5ea6\uff0c\u540c\u65f6\u964d\u4f4e\u5176\u4ed6\u90e8\u5206\u7684\u901f\u5ea6\u3002<\/span><\/p>\n<pre style=\"box-sizing: inherit; font-family: Consolas, Monaco, 'andale mono', 'ubuntu mono', monospace; font-size: 1em; border-radius: 0.35rem; tab-size: 4; padding: 1em 1em 1em 3.8em; color: #cccccc; background: #2d2d2d; word-spacing: normal; word-break: normal; overflow-wrap: normal; line-height: 1.5; hyphens: none; margin-top: 0.5em; margin-bottom: 0.5em; overflow: auto; counter-reset: linenumber 0;\"><code style=\"box-sizing: inherit; font-family: Consolas, Monaco, 'andale mono', 'ubuntu mono', monospace; font-size: 1em; background: 0px 0px; border-radius: 2px; white-space: inherit; word-spacing: normal; word-break: normal; overflow-wrap: normal; line-height: 1.5; tab-size: 4; hyphens: none; top: 13px !important;\"><span style=\"font-size: 15px;\"><span style=\"box-sizing: inherit; color: #cc99cd;\">location<\/span> <span style=\"box-sizing: inherit; color: #67cdcc;\">\/<\/span> <span style=\"box-sizing: inherit;\">{<\/span>\r\n    <span style=\"box-sizing: inherit; color: #cc99cd;\">limit_rate_after<\/span> 500k<span style=\"box-sizing: inherit;\">;<\/span>\r\n    <span style=\"box-sizing: inherit; color: #cc99cd;\">limit_rate<\/span> 50k<span style=\"box-sizing: inherit;\">;<\/span>\r\n<span style=\"box-sizing: inherit;\">}<\/span><\/span><\/code><\/pre>\n<p style=\"box-sizing: inherit; font-size: 1.05rem; line-height: 1.85rem; margin: 2px 2px 10px; color: #34495e; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen-Sans, Ubuntu, Cantarell, 'Helvetica Neue', sans-serif; text-align: start; white-space: normal; background-color: #ffffff;\"><span style=\"font-size: 15px;\">\u8bf7\u6ce8\u610f\uff0c\u901f\u7387\u9650\u5236\u9002\u7528\u4e8e\u6d4f\u89c8\u5668\u548c\u00a0<\/span><code style=\"box-sizing: inherit; font-family: Inconsolata, Monaco, Consolas, 'courier new', Courier, monospace; font-size: 0.91rem; padding: 1px 5px; color: #e96900; background-color: #f8f8f8; border-radius: 2px; top: 13px !important;\"><span style=\"font-size: 15px;\">Nginx<\/span><\/code><span style=\"font-size: 15px;\">\u00a0\u4e4b\u95f4\u7684\u5355\u4e2a\u00a0<\/span><code style=\"box-sizing: inherit; font-family: Inconsolata, Monaco, Consolas, 'courier new', Courier, monospace; font-size: 0.91rem; padding: 1px 5px; color: #e96900; background-color: #f8f8f8; border-radius: 2px; top: 13px !important;\"><span style=\"font-size: 15px;\">HTTP<\/span><\/code><span style=\"font-size: 15px;\">\u00a0\u8fde\u63a5\uff0c\u56e0\u6b64\u8bf7\u4e0d\u8981\u963b\u6b62\u7528\u6237\u4f7f\u7528\u4e0b\u8f7d\u7ba1\u7406\u5668\u6765\u7ed5\u5f00\u901f\u7387\u9650\u5236\u3002<\/span><\/p>\n<section style=\"font-size: 14px; white-space: normal; letter-spacing: 0.544px;\" data-mpa-template-id=\"167209\" data-mpa-color=\"#ffffff\" data-mpa-category=\"body\">\n<section style=\"white-space: normal; max-width: 100%; font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei UI', 'Microsoft YaHei', Arial, sans-serif; letter-spacing: 0.544px; background-color: #ffffff; box-sizing: border-box !important; overflow-wrap: break-word !important;\" data-mpa-template=\"t\">\n<section style=\"margin: 0px; padding: 20px 0px 0px; max-width: 100%; overflow-wrap: break-word !important; box-sizing: border-box !important; display: flex; justify-content: center; align-items: center;\" data-mpa-category=\"\u6a21\u677f\" data-mid=\"\">\n<section style=\"margin: 0px; padding: 0px; max-width: 100%; overflow-wrap: break-word !important; box-sizing: border-box !important; display: flex; justify-content: center; align-items: center;\" data-mid=\"\">\n<p style=\"margin: 0px; padding: 8px 0px; clear: both; min-height: 1em; max-width: 100%; overflow-wrap: break-word !important; box-sizing: border-box !important; color: #595959; font-size: 15px; line-height: 2; word-break: break-word; font-family: Optima-Regular, Optima, PingFangSC-light, PingFangTC-light, 'PingFang SC', Cambria, Cochin, Georgia, Times, 'Times New Roman', serif; letter-spacing: 0.05em;\" data-mid=\"\">\n<\/section>\n<\/section>\n<\/section>\n<\/section>\n<\/div>\n","protected":false},"excerpt":{"rendered":"<p>\u6d77\u519b\u4e0a\u5c06\u5a01\u5ec9\u00b7\u9ea6\u514b\u62c9\u6587\u5728 2014\u00a0\u5e74\u4e8e\u5fb7\u514b\u8428\u65af\u5927\u5b66\u53d1\u8868\u7684\u8457\u540d\u6f14\u8bb2\u4e2d\u8bf4\uff0c\u5982\u679c\u4f60\u60f3\u6539\u53d8\u4e16\u754c\uff0c\u5c31\u4ece\u94fa\u5e8a\u5f00\u59cb\u5427\uff01\u6709\u65f6 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[12],"tags":[],"class_list":["post-3669","post","type-post","status-publish","format-standard","hentry","category-linux"],"_links":{"self":[{"href":"https:\/\/www.xh86.me\/index.php?rest_route=\/wp\/v2\/posts\/3669","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.xh86.me\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.xh86.me\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.xh86.me\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.xh86.me\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3669"}],"version-history":[{"count":2,"href":"https:\/\/www.xh86.me\/index.php?rest_route=\/wp\/v2\/posts\/3669\/revisions"}],"predecessor-version":[{"id":3694,"href":"https:\/\/www.xh86.me\/index.php?rest_route=\/wp\/v2\/posts\/3669\/revisions\/3694"}],"wp:attachment":[{"href":"https:\/\/www.xh86.me\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3669"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.xh86.me\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3669"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.xh86.me\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3669"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}