{"id":1467,"date":"2016-11-24T08:55:37","date_gmt":"2016-11-24T00:55:37","guid":{"rendered":"http:\/\/cn.hostease.com\/xueyuan\/?p=1467"},"modified":"2025-01-06T19:36:14","modified_gmt":"2025-01-06T11:36:14","slug":"%e4%bd%95%e6%97%b6-nginx-%e5%b0%86%e5%8f%96%e4%bb%a3-apache%ef%bc%9f","status":"publish","type":"post","link":"https:\/\/cn.hostease.com\/xueyuan\/yejie\/%e4%bd%95%e6%97%b6-nginx-%e5%b0%86%e5%8f%96%e4%bb%a3-apache%ef%bc%9f\/","title":{"rendered":"\u4f55\u65f6 NGINX \u5c06\u53d6\u4ee3 Apache\uff1f"},"content":{"rendered":"\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>NGINX \u548c Apache \u4e24\u8005\u90fd\u662f\u4e3b\u6d41\u7684\u5f00\u6e90 web \u670d\u52a1\u5668\uff0c\u4f46\u662f\u636e NGINX \u7684\u9996\u5e2d\u6267\u884c\u5b98 Gus Robertson \u6240\u8a00\uff0c\u4ed6\u4eec\u6709\u4e0d\u540c\u7684\u4f7f\u7528\u573a\u666f\u3002\u6b64\u5916\u8fd8\u6709\u5fae\u8f6f\uff0c\u5176 web \u670d\u52a1\u5668 IIS \u5728\u6d3b\u8dc3\u7f51\u7ad9\u7684\u4efd\u989d\u5728 20 \u5e74\u95f4\u9996\u6b21\u8dcc\u7834 10%\u3002<\/p>\n<\/blockquote>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/cn.hostease.com\/xueyuan\/wp-content\/uploads\/2016\/11\/NGINX-and-Apache.png\"><img loading=\"lazy\" decoding=\"async\" width=\"770\" height=\"453\" src=\"https:\/\/cn.hostease.com\/xueyuan\/wp-content\/uploads\/2016\/11\/NGINX-and-Apache.png\" alt=\"\" class=\"wp-image-8945\" title=\"Apache \u662f\u6700\u53d7\u6b22\u8fce\u7684 web \u670d\u52a1\u5668\uff0c\u4e0d\u8fc7 NGINX \u6b63\u9010\u6e10\u589e\u957f\uff0c\u800c\u5fae\u8f6f\u7684 IIS \u51e0\u5341\u5e74\u6765\u9996\u6b21\u8dcc\u7834 10%\u3002\" srcset=\"https:\/\/cn.hostease.com\/xueyuan\/wp-content\/uploads\/2016\/11\/NGINX-and-Apache.png 770w, https:\/\/cn.hostease.com\/xueyuan\/wp-content\/uploads\/2016\/11\/NGINX-and-Apache-300x176.png 300w, https:\/\/cn.hostease.com\/xueyuan\/wp-content\/uploads\/2016\/11\/NGINX-and-Apache-768x452.png 768w\" sizes=\"auto, (max-width: 770px) 100vw, 770px\" \/><\/a><\/figure>\n\n\n\n<p class=\"article_img\"><\/p>\n\n\n\n<p class=\"article_img_desc\"><em>Apache \u662f\u6700\u53d7\u6b22\u8fce\u7684 web \u670d\u52a1\u5668\uff0c\u4e0d\u8fc7 NGINX \u6b63\u9010\u6e10\u589e\u957f\uff0c\u800c\u5fae\u8f6f\u7684 IIS \u51e0\u5341\u5e74\u6765\u9996\u6b21\u8dcc\u7834 10%\u3002<\/em><\/p>\n\n\n\n<p><a class=\"ext\" href=\"https:\/\/www.nginx.com\/\" target=\"_blank\" rel=\"external nofollow noopener\">NGINX<\/a> \u5df2\u7ecf\u6210\u4e3a\u7b2c\u4e8c\u5927 web \u670d\u52a1\u5668\u3002\u5b83\u5728\u5f88\u4e45\u4ee5\u524d\u5c31\u5df2\u7ecf\u8d85\u8d8a\u4e86<a class=\"ext\" href=\"https:\/\/www.iis.net\/\" target=\"_blank\" rel=\"external nofollow noopener\">\u5fae\u8f6f IIS<\/a>\uff0c\u5e76\u4e14\u4e00\u76f4\u5728\u8001\u5927 <a class=\"ext\" href=\"https:\/\/httpd.apache.org\/\" target=\"_blank\" rel=\"external nofollow noopener\">Apache<\/a> \u7684\u8eab\u540e\u7a77\u8ffd\u4e0d\u820d\u3002\u4f46\u662f\uff0cNGINX \u7684\u9996\u5e2d\u6267\u884c\u5b98Gus Roberston \u5728\u63a5\u53d7\u91c7\u8bbf\u65f6\u8868\u793a\uff0cApache \u548c NGINX \u7684\u7528\u6237\u7fa4\u4f53\u4e0d\u4e00\u6837\u3002<\/p>\n\n\n\n<p>\u201c\u6211\u8ba4\u4e3a Apache \u662f\u5f88\u597d\u7684 web \u670d\u52a1\u5668\u3002NGINX \u548c\u5b83\u7684\u4f7f\u7528\u573a\u666f\u4e0d\u540c\uff0c\u201dRobertson \u8bf4\u3002\u201c\u6211\u4eec\u6ca1\u6709\u628a Apache \u5f53\u6210\u7ade\u4e89\u5bf9\u624b\u3002\u6211\u4eec\u7684\u7528\u6237\u4f7f\u7528 NGINX \u6765\u53d6\u4ee3\u786c\u4ef6\u8d1f\u8f7d\u5747\u8861\u5668\u548c\u6784\u5efa\u5fae\u670d\u52a1\uff0c\u8fd9\u4e24\u4e2a\u90fd\u4e0d\u662f Apache \u7684\u957f\u5904\u3002\u201d<\/p>\n\n\n\n<p>\u4e8b\u5b9e\u4e0a\uff0cRobertson \u53d1\u73b0\u8bb8\u591a\u7528\u6237\u540c\u65f6\u4f7f\u7528\u4e86\u8fd9\u4e24\u79cd\u5f00\u6e90\u7684 web \u670d\u52a1\u3002\u201c\u7528\u6237\u4f1a\u5728 Apache \u7684\u4e0a\u5c42\u4f7f\u7528 NGINX \u6765\u5b9e\u73b0\u8d1f\u8f7d\u5747\u8861\u3002\u6211\u4eec\u7684\u67b6\u6784\u5dee\u5f02\u5f88\u5927\uff0c\u6211\u4eec\u53ef\u4ee5\u63d0\u4f9b\u66f4\u597d\u7684\u5e76\u53d1 web \u670d\u52a1\u3002\u201d\u4ed6\u8fd8\u8868\u793a NGINX \u5728\u4e91\u73af\u5883\u4e2d\u8868\u73b0\u66f4\u4f18\u79c0\u3002<\/p>\n\n\n\n<p>\u4ed6\u603b\u7ed3\u8bf4\uff0c\u201c\u6211\u4eec\u662f\u552f\u4e00\u4e00\u4e2a\u4ecd\u7136\u5728\u6301\u7eed\u589e\u957f\u7684 web \u670d\u52a1\u5668\uff0c\u5176\u5b83\u7684 web \u670d\u52a1\u5668\u90fd\u5728\u6162\u6162\u7f29\u5c0f\u4efd\u989d\u3002\u201d<\/p>\n\n\n\n<p>\u8fd9\u4e0d\u592a\u51c6\u786e\u3002\u6839\u636e <a class=\"ext\" href=\"https:\/\/news.netcraft.com\/archives\/2016\/10\/21\/october-2016-web-server-survey.html\" target=\"_blank\" rel=\"external nofollow noopener\">Netcraft \u5341\u6708\u4efd\u7684\u7f51\u7edc\u670d\u52a1\u5668\u8c03\u67e5<\/a>\uff0cApache \u5f53\u6708\u7684\u6d3b\u8dc3\u7f51\u7ad9\u589e\u52a0\u5f97\u6700\u591a\uff0c\u83b7\u5f97\u4e86 180 \u4e07\u4e2a\u65b0\u7ad9\u70b9\uff0c\u800c NGINX \u589e\u52a0\u4e86 40 \u4e07\u4e2a\u65b0\u7ad9\u70b9\uff0c\u6392\u5728\u7b2c\u4e8c\u4f4d\u3002<\/p>\n\n\n\n<p>\u8fd9\u4e9b\u589e\u957f\uff0c\u52a0\u4e0a\u5fae\u8f6f\u635f\u5931\u7684 120 \u4e07\u4e2a\u6d3b\u8dc3\u7ad9\u70b9\uff0c\u5bfc\u81f4\u5fae\u8f6f\u7684\u6d3b\u8dc3\u7f51\u7ad9\u4efd\u989d\u4e0b\u964d\u5230 9.27%\uff0c\u8fd9\u662f\u4ed6\u4eec\u7b2c\u4e00\u6b21\u8dcc\u7834 10%\u3002Apache \u7684\u5e02\u573a\u4efd\u989d\u63d0\u9ad8\u4e86 0.19%\uff0c\u5e76\u7ee7\u7eed\u9886\u8dd1\u5e02\u573a\uff0c\u73b0\u5728\u5750\u62e5 46.3% \u7684\u6d3b\u8dc3\u7ad9\u70b9\u3002\u5c3d\u7ba1\u5982\u6b64\uff0c\u591a\u5e74\u6765 Apache \u4e00\u76f4\u5728\u7f13\u6162\u4e0b\u964d\uff0c\u800c NGINX \u73b0\u5728\u4e0a\u5347\u5230\u4e86 19%\u3002<\/p>\n\n\n\n<p>NGINX \u7684\u5f00\u53d1\u8005\u6b63\u5728\u52aa\u529b\u521b\u9020\u4ed6\u4eec\u7684\u6838\u5fc3\u5f00\u653e\uff08open-core \uff09\u7684\u5546\u4e1a web \u670d\u52a1\u5668 \u2014\u2014 <a class=\"ext\" href=\"https:\/\/www.nginx.com\/products\/\" target=\"_blank\" rel=\"external nofollow noopener\">NGINX Plus<\/a>\uff0c\u901a\u8fc7\u4e0d\u65ad\u7684\u6539\u8fdb\u4f7f\u5176\u53d8\u5f97\u66f4\u6709\u7ade\u4e89\u529b\u3002NGINX Plus \u6700\u65b0\u7684\u7248\u672c\u662f <a class=\"ext\" href=\"https:\/\/www.nginx.com\/blog\/nginx-plus-r11-released\/\" target=\"_blank\" rel=\"external nofollow noopener\">NGINX Plus 11 \u7248\uff08R11\uff09<\/a>\uff0c\u8be5\u670d\u52a1\u5668\u6613\u4e8e\u6269\u5c55\u548c\u81ea\u5b9a\u4e49\uff0c\u5e76\u652f\u6301\u66f4\u5e7f\u6cdb\u7684\u90e8\u7f72\u3002<\/p>\n\n\n\n<p>\u8fd9\u6b21\u6700\u5927\u7684\u8865\u5145\u662f <a class=\"ext\" href=\"https:\/\/www.nginx.com\/blog\/nginx-plus-r11-released\/?utm_source=nginx-plus-r11-released&amp;utm_medium=blog#r11-dynamic-modules\" target=\"_blank\" rel=\"external nofollow noopener\">\u52a8\u6001\u6a21\u5757<\/a> \u7684\u4e8c\u8fdb\u5236\u517c\u5bb9\u6027\u3002\u4e5f\u5c31\u662f\u8bf4\u4e3a \u5f00\u6e90 NGINX \u8f6f\u4ef6 \u7f16\u8bd1\u7684\u52a8\u6001\u6a21\u5757\u4e5f\u53ef\u4ee5\u52a0\u8f7d\u5230 NGINX Plus\u3002<\/p>\n\n\n\n<p>\u8fd9\u610f\u5473\u7740\u4f60\u53ef\u4ee5\u5229\u7528\u5927\u91cf\u7684<a class=\"ext\" href=\"https:\/\/www.nginx.com\/resources\/wiki\/modules\/index.html?utm_source=nginx-plus-r11-released&amp;utm_medium=blog\" target=\"_blank\" rel=\"external nofollow noopener\">\u7b2c\u4e09\u65b9 NGINX \u6a21\u5757<\/a> \u6765\u6269\u5c55 NGINX Plus \u7684\u529f\u80fd\uff0c\u501f\u9274\u4e00\u7cfb\u5217\u5f00\u6e90\u548c\u5546\u4e1a\u5316\u751f\u4ea7\u7684\u6a21\u5757\u3002\u5f00\u53d1\u8005\u53ef\u4ee5\u57fa\u4e8e\u652f\u6301 NGINX Plus \u7684\u5185\u6838\u521b\u5efa\u81ea\u5b9a\u4e49\u6269\u5c55\u3001\u9644\u52a0\u7ec4\u4ef6\u548c\u65b0\u4ea7\u54c1\u3002<\/p>\n\n\n\n<p>NGINX Plus R11 \u8fd8\u589e\u5f3a\u4e86\u5176\u5b83\u529f\u80fd\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a class=\"ext\" href=\"https:\/\/www.nginx.com\/blog\/nginx-plus-r11-released\/?utm_source=nginx-plus-r11-released&amp;utm_medium=blog#r11-tcp-udp-lb\" target=\"_blank\" rel=\"external nofollow noopener\">\u63d0\u5347 TCP\/UDP \u8d1f\u8f7d\u5747\u8861<\/a> \u2014\u2014 \u65b0\u529f\u80fd\u5305\u62ec SSL \u670d\u52a1\u5668\u8def\u7531\u3001\u65b0\u7684\u65e5\u5fd7\u529f\u80fd\u3001\u9644\u52a0\u53d8\u91cf\u4ee5\u53ca\u6539\u8fdb\u7684\u4ee3\u7406\u534f\u8bae\u652f\u6301\u3002\u8fd9\u4e9b\u65b0\u529f\u80fd\u589e\u5f3a\u4e86\u8c03\u8bd5\u529f\u80fd\uff0c\u4f7f\u4f60\u80fd\u591f\u652f\u6301\u66f4\u5e7f\u6cdb\u7684\u4f01\u4e1a\u5e94\u7528\u3002<\/li>\n\n\n\n<li><a class=\"ext\" href=\"https:\/\/www.nginx.com\/blog\/nginx-plus-r11-released\/?utm_source=nginx-plus-r11-released&amp;utm_medium=blog#r11-geoip2\" target=\"_blank\" rel=\"external nofollow noopener\">\u66f4\u597d\u7684 IP \u5b9a\u4f4d<\/a> \u2014\u2014 \u7b2c\u4e09\u65b9\u7684 GeoIP2 \u6a21\u5757\u73b0\u5728\u5df2\u7ecf\u901a\u8fc7\u8ba4\u8bc1\uff0c\u5e76\u63d0\u4f9b\u7ed9 NGINX Plus \u7528\u6237\u3002\u8fd9\u4e2a\u65b0\u7248\u672c\u63d0\u4f9b\u6bd4\u539f\u6765\u7684 GeoIP \u6a21\u5757\u66f4\u7cbe\u51c6\u548c\u4e30\u5bcc\u7684\u4f4d\u7f6e\u4fe1\u606f\u3002<\/li>\n\n\n\n<li><a class=\"ext\" href=\"https:\/\/www.nginx.com\/blog\/nginx-plus-r11-released\/?utm_source=nginx-plus-r11-released&amp;utm_medium=blog#r11-nginScript\" target=\"_blank\" rel=\"external nofollow noopener\">\u589e\u5f3a\u7684 nginScript \u6a21\u5757<\/a> \u2014\u2014 nginScript \u662f\u57fa\u4e8e JavaScript \u7684 NGINX Plus \u7684\u4e0b\u4e00\u4ee3\u914d\u7f6e\u8bed\u8a00\u3002\u65b0\u529f\u80fd\u53ef\u4ee5\u8ba9\u4f60\u5728\u6d41\uff08TCP\/UDP\uff09\u6a21\u5757\u4e2d\u5373\u65f6\u4fee\u6539\u8bf7\u6c42\u548c\u54cd\u5e94\u6570\u636e\u3002<\/li>\n<\/ul>\n\n\n\n<p>\u6700\u7ec8\u7ed3\u679c\uff1fNGINX \u51c6\u5907\u7ee7\u7eed\u4e0e Apache \u7ade\u4e89\u9876\u7ea7 web \u670d\u52a1\u5668\u7684\u5b9d\u5ea7\u3002\u81f3\u4e8e\u5fae\u8f6f\u7684 IIS\uff1f\u5b83\u5c06\u9010\u6e10\u6de1\u51fa\u5e02\u573a\u3002<\/p>\n\n\n\n<hr class=\"wp-block-separator has-alpha-channel-opacity\"\/>\n","protected":false},"excerpt":{"rendered":"<p>NGINX \u548c Apache \u4e24\u8005\u90fd\u662f\u4e3b\u6d41\u7684\u5f00\u6e90 web \u670d\u52a1\u5668\uff0c\u4f46\u662f\u636e NGINX \u7684\u9996\u5e2d\u6267\u884c\u5b98 Gus R &#8230; <a title=\"\u4f55\u65f6 NGINX \u5c06\u53d6\u4ee3 Apache\uff1f\" class=\"read-more\" href=\"https:\/\/cn.hostease.com\/xueyuan\/yejie\/%e4%bd%95%e6%97%b6-nginx-%e5%b0%86%e5%8f%96%e4%bb%a3-apache%ef%bc%9f\/\" aria-label=\"\u9605\u8bfb \u4f55\u65f6 NGINX \u5c06\u53d6\u4ee3 Apache\uff1f\">\u9605\u8bfb\u66f4\u591a<\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[33],"tags":[38,466],"class_list":["post-1467","post","type-post","status-publish","format-standard","hentry","category-yejie","tag-linux","tag-web"],"aioseo_notices":[],"jetpack_featured_media_url":"","jetpack-related-posts":[],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/cn.hostease.com\/xueyuan\/wp-json\/wp\/v2\/posts\/1467","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/cn.hostease.com\/xueyuan\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/cn.hostease.com\/xueyuan\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/cn.hostease.com\/xueyuan\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/cn.hostease.com\/xueyuan\/wp-json\/wp\/v2\/comments?post=1467"}],"version-history":[{"count":2,"href":"https:\/\/cn.hostease.com\/xueyuan\/wp-json\/wp\/v2\/posts\/1467\/revisions"}],"predecessor-version":[{"id":8946,"href":"https:\/\/cn.hostease.com\/xueyuan\/wp-json\/wp\/v2\/posts\/1467\/revisions\/8946"}],"wp:attachment":[{"href":"https:\/\/cn.hostease.com\/xueyuan\/wp-json\/wp\/v2\/media?parent=1467"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/cn.hostease.com\/xueyuan\/wp-json\/wp\/v2\/categories?post=1467"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/cn.hostease.com\/xueyuan\/wp-json\/wp\/v2\/tags?post=1467"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}