{"id":152214,"date":"2019-08-10T08:06:16","date_gmt":"2019-08-10T00:06:16","guid":{"rendered":"https:\/\/gulass.cn\/?p=152214"},"modified":"2019-08-06T15:00:39","modified_gmt":"2019-08-06T07:00:39","slug":"web-nginx-introduce","status":"publish","type":"post","link":"https:\/\/gulass.cn\/web-nginx-introduce.html","title":{"rendered":"Nginx\u4ecb\u7ecd"},"content":{"rendered":"

Nginx\u662f\u4fc4\u7f57\u65af\u4eba\u7f16\u5199\u7684\u5341\u5206\u8f7b\u91cf\u7ea7\u7684HTTP\u670d\u52a1\u5668,Nginx\uff0c\u5b83\u7684\u53d1\u97f3\u4e3a\u201cengine X\u201d\uff0c\u662f\u4e00\u4e2a\u9ad8\u6027\u80fd\u7684HTTP\u548c\u53cd\u5411\u4ee3\u7406\u670d\u52a1\u5668\uff0c\u540c\u65f6\u4e5f\u662f\u4e00\u4e2aIMAP\/POP3\/SMTP \u4ee3\u7406\u670d\u52a1\u5668\u3002Nginx\u662f\u7531\u4fc4\u7f57\u65af\u4eba Igor Sysoev\u4e3a\u4fc4\u7f57\u65af\u8bbf\u95ee\u91cf\u7b2c\u4e8c\u7684 Rambler.ru\u7ad9\u70b9\u5f00\u53d1\u7684\uff0c\u5b83\u5df2\u7ecf\u5728\u8be5\u7ad9\u70b9\u8fd0\u884c\u8d85\u8fc7\u4e24\u5e74\u534a\u4e86\u3002Igor Sysoev\u5728\u5efa\u7acb\u7684\u9879\u76ee\u65f6,\u4f7f\u7528\u57fa\u4e8eBSD\u8bb8\u53ef\u3002<\/p>\n

\u82f1\u6587\u4e3b\u9875\uff1ahttp:\/\/nginx.net<\/a> \u3002<\/p>\n

\u52302013\u5e74\uff0c\u76ee\u524d\u6709\u5f88\u591a\u56fd\u5185\u7f51\u7ad9\u91c7\u7528Nginx\u4f5c\u4e3aWeb\u670d\u52a1\u5668\uff0c\u5982\u56fd\u5185\u77e5\u540d\u7684\u65b0\u6d6a\u3001163\u3001\u817e\u8baf\u3001Discuz\u3001\u8c46\u74e3\u7b49\u3002\u636enetcraft\u7edf\u8ba1\uff0cNginx\u6392\u540d\u7b2c3\uff0c\u7ea6\u536015%\u7684\u4efd\u989d(\u53c2\u89c1\uff1ahttp:\/\/news.netcraft.com\/archives\/category\/web-server-survey\/<\/a> )<\/p>\n

Nginx\u4ee5\u4e8b\u4ef6\u9a71\u52a8\u7684\u65b9\u5f0f\u7f16\u5199\uff0c\u6240\u4ee5\u6709\u975e\u5e38\u597d\u7684\u6027\u80fd\uff0c\u540c\u65f6\u4e5f\u662f\u4e00\u4e2a\u975e\u5e38\u9ad8\u6548\u7684\u53cd\u5411\u4ee3\u7406\u3001\u8d1f\u8f7d\u5e73\u8861\u3002\u5176\u62e5\u6709\u5339\u914dLighttpd\u7684\u6027\u80fd\uff0c\u540c\u65f6\u8fd8\u6ca1\u6709Lighttpd\u7684\u5185\u5b58\u6cc4\u6f0f\u95ee\u9898\uff0c\u800c\u4e14Lighttpd\u7684mod_proxy\u4e5f\u6709\u4e00\u4e9b\u95ee\u9898\u5e76\u4e14\u5f88\u4e45\u6ca1\u6709\u66f4\u65b0\u3002<\/p>\n

\u73b0\u5728\uff0cIgor\u5c06\u6e90\u4ee3\u7801\u4ee5\u7c7bBSD\u8bb8\u53ef\u8bc1\u7684\u5f62\u5f0f\u53d1\u5e03\u3002Nginx\u56e0\u4e3a\u5b83\u7684\u7a33\u5b9a\u6027\u3001\u4e30\u5bcc\u7684\u6a21\u5757\u5e93\u3001\u7075\u6d3b\u7684\u914d\u7f6e\u548c\u4f4e\u7cfb\u7edf\u8d44\u6e90\u7684\u6d88\u8017\u800c\u95fb\u540d\uff0e\u4e1a\u754c\u4e00\u81f4\u8ba4\u4e3a\u5b83\u662fApache2.2\uff0bmod_proxy_balancer\u7684\u8f7b\u91cf\u7ea7\u4ee3\u66ff\u8005\uff0c\u4e0d\u4ec5\u662f\u56e0\u4e3a\u54cd\u5e94\u9759\u6001\u9875\u9762\u7684\u901f\u5ea6\u975e\u5e38\u5feb\uff0c\u800c\u4e14\u5b83\u7684\u6a21\u5757\u6570\u91cf\u8fbe\u5230Apache\u7684\u8fd12\/3\u3002\u5bf9proxy\u548crewrite\u6a21\u5757\u7684\u652f\u6301\u5f88\u5f7b\u5e95\uff0c\u8fd8\u652f\u6301mod_fcgi\u3001ssl\u3001vhosts \uff0c\u9002\u5408\u7528\u6765\u505amongrel clusters\u7684\u524d\u7aefHTTP\u54cd\u5e94\u3002<\/p>\n

nginx\u505a\u4e3aHTTP\u670d\u52a1\u5668\uff0c\u6709\u4ee5\u4e0b\u51e0\u9879\u57fa\u672c\u7279\u6027\uff1a<\/p>\n