{"id":204,"date":"2017-05-11T16:28:14","date_gmt":"2017-05-11T08:28:14","guid":{"rendered":"https:\/\/blog.jsjs.org\/?p=204"},"modified":"2017-05-11T16:28:14","modified_gmt":"2017-05-11T08:28:14","slug":"nginx%e4%b8%8etomcat%e7%bb%84%e5%90%88%e7%9a%84%e7%ae%80%e5%8d%95%e4%bd%bf%e7%94%a8","status":"publish","type":"post","link":"https:\/\/blog.jsjs.org\/?p=204","title":{"rendered":"Nginx\u4e0etomcat\u7ec4\u5408\u7684\u7b80\u5355\u4f7f\u7528"},"content":{"rendered":"<p>\u6587\u7ae0\u7248\u6743\u7531\u4f5c\u8005\u674e\u6653\u6656\u548c\u535a\u5ba2\u56ed\u5171\u6709\uff0c\u82e5\u8f6c\u8f7d\u8bf7\u4e8e\u660e\u663e\u5904\u6807\u660e\u51fa\u5904\uff1a<a href=\"http:\/\/www.cnblogs.com\/naaoveGIS\/\">http:\/\/www.cnblogs.com\/naaoveGIS\/<\/a><\/p>\n<h2>1.\u80cc\u666f<\/h2>\n<p>\u9879\u76ee\u4e2d\u74e6\u7247\u8d44\u6e90\u8d8a\u6765\u8d8a\u591a\uff0c\u5982\u679c\u63d0\u9ad8\u74e6\u7247\u7684\u8bbf\u95ee\u6548\u7387\u662f\u4e00\u4e2a\u9700\u8981\u89e3\u51b3\u7684\u95ee\u9898\u3002\u8fd9\u91cc\uff0c\u6211\u4eec\u8003\u8651\u4f7f\u7528Nginx\u6765\u4ee3\u7406\u9759\u6001\u8d44\u6e90\u8fdb\u884c\u521d\u6b65\u89e3\u51b3\u3002<\/p>\n<h2>2.Nginx\u7b80\u4ecb<\/h2>\n<p>Nginx (&#8220;engine x&#8221;) \u662f\u4e00\u4e2a\u9ad8\u6027\u80fd\u7684<a href=\"http:\/\/baike.baidu.com\/view\/9472.htm\" target=\"_blank\" rel=\"noopener noreferrer\">HTTP<\/a>\u548c<a href=\"http:\/\/baike.baidu.com\/view\/1165595.htm\" target=\"_blank\" rel=\"noopener noreferrer\">\u53cd\u5411\u4ee3\u7406<\/a>\u670d\u52a1\u5668\uff0c\u4e5f\u662f\u4e00\u4e2aIMAP\/POP3\/SMTP<a href=\"http:\/\/baike.baidu.com\/view\/899.htm\" target=\"_blank\" rel=\"noopener noreferrer\">\u670d\u52a1\u5668<\/a>\u3002Nginx\u662f\u7531Igor Sysoev\u4e3a<a href=\"http:\/\/baike.baidu.com\/subview\/2403\/14453555.htm\" target=\"_blank\" rel=\"noopener noreferrer\">\u4fc4\u7f57\u65af<\/a>\u8bbf\u95ee\u91cf\u7b2c\u4e8c\u7684Rambler.ru\u7ad9\u70b9\u5f00\u53d1\u7684\u3002<\/p>\n<p>\u4f55\u4e3a\u53cd\u5411\u4ee3\u7406\u5462\uff1f\u5373\u4ee5\u4ee3\u7406\u670d\u52a1\u5668\u6765\u63a5\u53d7internet\u4e0a\u7684\u8fde\u63a5\u8bf7\u6c42\uff0c\u7136\u540e\u5c06\u8bf7\u6c42\u8f6c\u53d1\u7ed9\u5185\u90e8\u7f51\u7edc\u4e0a\u7684\u670d\u52a1\u5668\uff0c\u5e76\u5c06\u4ece\u670d\u52a1\u5668\u4e0a\u5f97\u5230\u7684\u7ed3\u679c\u8fd4\u56de\u7ed9internet\u4e0a\u8bf7\u6c42\u8fde\u63a5\u7684\u5ba2\u6237\u7aef\uff0c\u6b64\u65f6\u4ee3\u7406\u670d\u52a1\u5668\u5bf9\u5916\u5c31\u8868\u73b0\u4e3a\u4e00\u4e2a\u670d\u52a1\u5668\u3002<\/p>\n<p>\u800cNginx\u4e3b\u8981\u5b8c\u6210\u7684\u5de5\u4f5c\u5c31\u662f\u53cd\u5411\u4ee3\u7406\uff0c\u6bd4\u5982\u6211\u4eec\u5411\u4e00\u53f0\u670d\u52a1\u5668\u768480\u7aef\u53e3\u53d1\u9001\u4e86\u8bf7\u6c42\uff0c\u8be5\u8bf7\u6c42\u9996\u5148\u7531Nginx\u76d1\u542c\u5230\uff0c\u5176\u63a5\u53d7\u5230\u8bf7\u6c42\u5185\u5bb9\u540e\u518d\u8f6c\u53d1\u7ed9\u5176\u4ed6\u670d\u52a1\u5668\uff0c\u5176\u4ed6\u670d\u52a1\u5668\u5904\u7406\u5b8c\u540e\u518d\u5c06\u7ed3\u679c\u4f20\u9001\u7ed9Nginx\uff0c\u6700\u540e\u7531Nginx\u6765\u7edf\u4e00\u8fd4\u56de\u7ed9\u521d\u59cb\u8bf7\u6c42\u7aef\u3002<\/p>\n<p>Nginx\u6700\u5e38\u89c1\u7684\u4f7f\u7528\u65b9\u6cd5\u5c31\u662f\u4f5c\u4e3a\u9759\u6001\u8d44\u6e90\u4f3a\u670d\u5668\uff0c\u6bd4\u5982\u5c06CSS\uff0cJS\uff0chtml\uff0chtm\u7b49\u6587\u4ef6\u8fdb\u884c\u7f13\u5b58\u5904\u7406\u3002<\/p>\n<h2>3.\u73af\u5883\u642d\u5efa<\/h2>\n<h3>3.1\u4e0b\u8f7d<\/h3>\n<p>\u9996\u5148\u5728\u5b98\u7f51\u4e2d\u4e0b\u8f7d\u6240\u9700\u7248\u672c\uff1a<a href=\"http:\/\/nginx.org\/en\/download.html\">http:\/\/nginx.org\/en\/download.html<\/a>\u3002\u76ee\u524d\u6211\u4f7f\u7528\u7684\u7248\u672c\u662fwindows\u73af\u5883\u4e0b\u76841.9.15\u3002<\/p>\n<p>\u4e0b\u8f7d\u5b8c\u6bd5\u540e\uff0c\u89e3\u538b\u3002<\/p>\n<h3>3.2\u5f00\u542fNginx<\/h3>\n<p>\u5f00\u542fNginx\u6709\u4e24\u79cd\u65b9\u6cd5\uff0c\u4e00\u79cd\u662f\u76f4\u63a5\u70b9\u51fb\u5f00\u542f\uff0c\u4e00\u79cd\u662f\u547d\u540d\u884c\u5f00\u542f\u3002<\/p>\n<p>a.\u70b9\u51fb\u5f00\u542f\uff1a<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/images2015.cnblogs.com\/blog\/656746\/201605\/656746-20160510160221296-1536339450.png\" alt=\"\" \/><\/p>\n<p>b.\u547d\u540d\u884c\u5f00\u542f\uff1a<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/images2015.cnblogs.com\/blog\/656746\/201605\/656746-20160510160230671-1519899707.png\" alt=\"\" \/><\/p>\n<p>\u5f00\u542f\u6210\u529f\u540e\uff0c\u5728\u8d44\u6e90\u7ba1\u7406\u4e2d\u53ef\u4ee5\u770b\u5230\uff1a<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/images2015.cnblogs.com\/blog\/656746\/201605\/656746-20160510160237921-357189165.png\" alt=\"\" \/><\/p>\n<h3>3.3\u5e38\u89c1\u95ee\u9898\u2014\u542f\u52a8\u5931\u8d25<\/h3>\n<p>\u51fa\u73b0\u542f\u52a8\u5931\u8d25\u95ee\u9898\uff0c\u4e00\u822c\u662f\u7aef\u53e3\u51b2\u7a81\u95ee\u9898\uff0c\u6bd4\u5982win7\u4e0b\u7684IIS\u5df2\u7ecf\u542f\u52a8\u5e76\u5360\u7528\u4e8680\u7aef\u53e3\u3002\u5728config\u76ee\u5f55\u4e0b\u627e\u5230nginx.conf\uff0c\u6253\u5f00\u6587\u4ef6\u8fdb\u884c\u5982\u4e0b\u4fee\u6539\uff1a<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/images2015.cnblogs.com\/blog\/656746\/201605\/656746-20160510160246109-576171607.png\" alt=\"\" \/><\/p>\n<h2>4.\u521d\u6b65\u4f7f\u7528<\/h2>\n<h3>4.1\u7528\u7f51\u9875\u6d4b\u8bd5\u662f\u5426\u542f\u52a8\u6210\u529f<\/h3>\n<p><img decoding=\"async\" src=\"http:\/\/images2015.cnblogs.com\/blog\/656746\/201605\/656746-20160510160257030-603011731.png\" alt=\"\" \/><\/p>\n<p>\u5176\u4e2d\u7684\u914d\u7f6e\u4e3a\uff1a<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/images2015.cnblogs.com\/blog\/656746\/201605\/656746-20160510160304218-1099163551.png\" alt=\"\" \/><\/p>\n<p>\u5176\u8868\u793a\u76d1\u542c8010\u7aef\u53e3\u8bf7\u6c42\u540e\uff0c\u4f1a\u9996\u5148\u53bbhtml\u6587\u4ef6\u5939\u4e0b\u5bfb\u627eindex.html\u9875\u9762\u3002<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/images2015.cnblogs.com\/blog\/656746\/201605\/656746-20160510160329468-178552111.png\" alt=\"\" \/><\/p>\n<h3>4.2\u8be6\u89e3\u90e8\u5206\u53c2\u6570\u542b\u4e49<\/h3>\n<p>listen\uff1a\u8868\u793a\u5f53\u524d\u7684\u4ee3\u7406\u670d\u52a1\u5668\u76d1\u542c\u7684\u7aef\u53e3\uff0c\u9ed8\u8ba4\u7684\u662f\u76d1\u542c80\u7aef\u53e3\u3002\u6ce8\u610f\uff0c\u5982\u679c\u6211\u4eec\u914d\u7f6e\u4e86\u591a\u4e2aserver\uff0c\u8fd9\u4e2alisten\u8981\u914d\u7f6e\u4e0d\u4e00\u6837\uff0c\u4e0d\u7136\u5c31\u4e0d\u80fd\u786e\u5b9a\u8f6c\u5230\u54ea\u91cc\u53bb\u4e86\u3002<\/p>\n<p>server_name\uff1a\u8868\u793a\u76d1\u542c\u5230\u4e4b\u540e\u9700\u8981\u8f6c\u5230\u54ea\u91cc\u53bb\uff0c\u8fd9\u65f6\u6211\u4eec\u76f4\u63a5\u8f6c\u5230\u672c\u5730\uff0c\u8fd9\u65f6\u662f\u76f4\u63a5\u5230nginx\u6587\u4ef6\u5939\u5185\u3002<\/p>\n<p>location\uff1a\u8868\u793a\u5339\u914d\u7684\u8def\u5f84\uff0c\u8fd9\u65f6\u914d\u7f6e\u4e86\/\u8868\u793a\u6240\u6709\u8bf7\u6c42\u90fd\u88ab\u5339\u914d\u5230\u8fd9\u91cc<\/p>\n<p>root\uff1a\u91cc\u9762\u914d\u7f6e\u4e86root\u8fd9\u65f6\u8868\u793a\u5f53\u5339\u914d\u8fd9\u4e2a\u8bf7\u6c42\u7684\u8def\u5f84\u65f6\uff0c\u5c06\u4f1a\u5728\u8fd9\u4e2a\u6587\u4ef6\u5939\u5185\u5bfb\u627e\u76f8\u5e94\u7684\u6587\u4ef6\uff0c\u8fd9\u91cc\u5bf9\u6211\u4eec\u4e4b\u540e\u7684\u9759\u6001\u6587\u4ef6\u4f3a\u670d\u5f88\u6709\u7528\u3002<\/p>\n<p>index\uff1a\u5f53\u6ca1\u6709\u6307\u5b9a\u4e3b\u9875\u65f6\uff0c\u9ed8\u8ba4\u4f1a\u9009\u62e9\u8fd9\u4e2a\u6307\u5b9a\u7684\u6587\u4ef6\uff0c\u5b83\u53ef\u4ee5\u6709\u591a\u4e2a\uff0c\u5e76\u6309\u987a\u5e8f\u6765\u52a0\u8f7d\uff0c\u5982\u679c\u7b2c\u4e00\u4e2a\u4e0d\u5b58\u5728\uff0c\u5219\u627e\u7b2c\u4e8c\u4e2a\uff0c\u4f9d\u6b64\u7c7b\u63a8\u3002<\/p>\n<h3>4.3\u914d\u7f6etomcat\u8df3\u8f6c<\/h3>\n<p><img decoding=\"async\" src=\"http:\/\/images2015.cnblogs.com\/blog\/656746\/201605\/656746-20160510160506952-1299797999.png\" alt=\"\" \/><\/p>\n<p>&nbsp;<\/p>\n<p>\u901a\u8fc7proxy_pass\u914d\u7f6e\u8bf7\u6c42\u8f6c\u53d1\u5730\u5740\u3002\u5373\u5f53\u8bbf\u95eelocalhost\u76848010\u7aef\u53e3\u65f6\uff0c\u8bf7\u6c42\u4f1a\u8df3\u8f6c\u81f3localhost\u76848080\u7aef\u53e3\u5904\u3002\u4fee\u6539\u5b8cNginx\u7684\u914d\u7f6e\u540e\u4e0d\u9700\u8981\u91cd\u542fNginx\uff0c\u8f93\u5165\u5982\u4e0b\u547d\u4ee4\u5373\u53ef\uff1a<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/images2015.cnblogs.com\/blog\/656746\/201605\/656746-20160510160520624-625681129.png\" alt=\"\" \/><\/p>\n<p>\u6d4b\u8bd5\u5982\u4e0b\uff1a<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/images2015.cnblogs.com\/blog\/656746\/201605\/656746-20160510160543655-1004213868.png\" alt=\"\" \/><\/p>\n<h2>5.\u8fdb\u4e00\u6b65\u4f7f\u7528<\/h2>\n<h3>5.1\u9759\u6001\u6587\u4ef6\u5206\u79bb\u914d\u7f6e<\/h3>\n<p>&nbsp;<\/p>\n<p>\u4e0a\u9762\u6211\u4eec\u76f4\u63a5\u8bd5\u4e86\u4e00\u4e2a\u5c0f\u4f8b\u5b50\uff0c\u8ba9nginx\u8fdb\u884c\u8f6c\u53d1\uff0c\u5373\u6240\u8c13\u7684\u53cd\u5411\u4ee3\u7406\u3002\u4f46\u5b9e\u9645\u4e0a\u6211\u4eec\u7684\u9700\u6c42\u4e0d\u4f1a\u662f\u8fd9\u6837\u7684\uff0c\u6211\u4eec\u9700\u8981\u5206\u6587\u4ef6\u7c7b\u578b\u6765\u8fdb\u884c\u8fc7\u6ee4\uff0c\u6bd4\u5982jsp\u76f4\u63a5\u7ed9tomcat\u5904\u7406\uff0c\u56e0\u4e3anginx\u5e76\u4e0d\u662fservlet\u5bb9\u5668\uff0c\u6ca1\u529e\u6cd5\u5904\u7406JSP\uff0c\u800chtml,js,css\u8fd9\u4e9b\u4e0d\u9700\u8981\u5904\u7406\u7684\uff0c\u76f4\u63a5\u7ed9nginx\u8fdb\u884c\u7f13\u5b58\u3002<\/p>\n<p>\u4e0b\u9762\u6211\u4eec\u6765\u8fdb\u884c\u4e00\u4e0b\u914d\u7f6e\uff0c\u8ba9JSP\u9875\u9762\u76f4\u63a5\u7ed9tomcat\uff0c\u800chtml,png\u7b49\u4e00\u4e9b\u56fe\u7247\u548cJS\u7b49\u76f4\u63a5\u7ed9nginx\u8fdb\u884c\u7f13\u5b58\u3002<\/p>\n<p>\u8fd9\u65f6\u6700\u4e3b\u8981\u7528\u7684\u8fd8\u662flocation\u8fd9\u4e2a\u5143\u7d20\uff0c\u5e76\u4e14\u6d89\u53ca\u5230\u4e00\u90e8\u5206\u6b63\u5219\uff0c\u4f46\u4e0d\u96be\uff0c\u5177\u4f53\u914d\u7f6e\u5982\u4e0b\uff1a<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/images2015.cnblogs.com\/blog\/656746\/201605\/656746-20160510160613874-1640890507.png\" alt=\"\" \/><\/p>\n<p>\u6b64\u65f6\u518d\u76f4\u63a5\u8f93\u5165localhost:8010\uff0c\u5219\u4f1a\u62a5404\u9519\u8bef\u4e86\u3002\u4f46\u662f\u8f93\u5165localhost:8010\/index.jsp\uff0c\u5219\u4e00\u6837\u53ef\u4ee5\u8df3\u8f6c\u81f3tomcat\u9996\u9875\u4e2d\u3002<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/images2015.cnblogs.com\/blog\/656746\/201605\/656746-20160510160625343-1736510594.png\" alt=\"\" \/><\/p>\n<h3>5.2 \u8d1f\u8f7d\u914d\u7f6e<\/h3>\n<p>\u5f53\u4e00\u53f0\u670d\u52a1\u5668\u51fa\u73b0\u6545\u969c\u540e\uff0c\u6211\u4eec\u9700\u8981\u5c06\u8bf7\u6c42\u81ea\u52a8\u8f6c\u5411\u53e6\u4e00\u53f0\u670d\u52a1\u5668\uff0c\u6b64\u79cd\u9700\u6c42\u8be5\u5982\u4f55\u914d\u7f6e\u5462\uff1f\u5229\u7528Nginx\u4e5f\u662f\u6bd4\u8f83\u65b9\u4fbf\u80fd\u591f\u5b9e\u73b0\uff0c\u5177\u4f53\u914d\u7f6e\u5982\u4e0b\uff1a<\/p>\n<p><img decoding=\"async\" src=\"http:\/\/images2015.cnblogs.com\/blog\/656746\/201605\/656746-20160510160635812-169749945.png\" alt=\"\" \/><\/p>\n<p>\u6ce8\u610f\uff0c\u4e0a\u9762\u8fd8\u52a0\u4e0a\u4e86\u4e00\u4e2aweight\u5c5e\u6027\uff0c\u6b64\u5c5e\u6027\u8868\u793a\u5404\u670d\u52a1\u5668\u88ab\u8bbf\u95ee\u5230\u7684\u6743\u91cd\uff0cweight\u8d8a\u9ad8\u8bbf\u95ee\u5230\u7684\u51e0\u7387\u8d8a\u9ad8\u3002<\/p>\n<h3>5.3\u5176\u4ed6\u914d\u7f6e<\/h3>\n<p><img decoding=\"async\" src=\"http:\/\/images2015.cnblogs.com\/blog\/656746\/201605\/656746-20160510160644374-985765098.png\" alt=\"\" \/><\/p>\n<h3>5.4\u5173\u95edNginx<\/h3>\n<p><img decoding=\"async\" src=\"http:\/\/images2015.cnblogs.com\/blog\/656746\/201605\/656746-20160510160712546-1367065881.png\" alt=\"\" \/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u6587\u7ae0\u7248\u6743\u7531\u4f5c\u8005\u674e\u6653\u6656\u548c\u535a\u5ba2\u56ed\u5171\u6709\uff0c\u82e5\u8f6c\u8f7d\u8bf7\u4e8e\u660e\u663e\u5904\u6807\u660e\u51fa\u5904\uff1ahttp:\/\/www.cnblogs.com\/naaoveGIS\/ 1.\u80cc\u666f \u9879\u76ee\u4e2d\u74e6\u7247\u8d44\u6e90\u8d8a\u6765\u8d8a\u591a\uff0c\u5982\u679c\u63d0\u9ad8\u74e6\u7247\u7684\u8bbf\u95ee\u6548\u7387\u662f\u4e00\u4e2a\u9700\u8981\u89e3\u51b3\u7684\u95ee\u9898\u3002\u8fd9\u91cc\uff0c\u6211\u4eec\u8003\u8651\u4f7f\u7528Nginx\u6765\u4ee3\u7406\u9759\u6001\u8d44\u6e90\u8fdb\u884c\u521d\u6b65\u89e3\u51b3\u3002 2.Nginx\u7b80\u4ecb Nginx (&#8220;engine x&#8221;) \u662f\u4e00\u4e2a\u9ad8\u6027\u80fd\u7684HTTP\u548c\u53cd\u5411\u4ee3\u7406\u670d\u52a1\u5668\uff0c\u4e5f\u662f\u4e00\u4e2aIMAP\/POP3\/SMTP\u670d\u52a1\u5668\u3002Nginx\u662f\u7531Igor Sysoev\u4e3a\u4fc4\u7f57\u65af\u8bbf\u95ee\u91cf\u7b2c\u4e8c\u7684Rambler.ru\u7ad9\u70b9\u5f00\u53d1\u7684\u3002 \u4f55\u4e3a\u53cd\u5411\u4ee3\u7406\u5462\uff1f\u5373\u4ee5\u4ee3\u7406\u670d\u52a1\u5668\u6765\u63a5\u53d7internet\u4e0a\u7684\u8fde\u63a5\u8bf7\u6c42\uff0c\u7136\u540e\u5c06\u8bf7\u6c42\u8f6c\u53d1\u7ed9\u5185\u90e8\u7f51\u7edc\u4e0a\u7684\u670d\u52a1\u5668\uff0c\u5e76\u5c06\u4ece\u670d\u52a1\u5668\u4e0a\u5f97\u5230\u7684\u7ed3\u679c\u8fd4\u56de\u7ed9internet\u4e0a\u8bf7\u6c42\u8fde\u63a5\u7684\u5ba2\u6237\u7aef\uff0c\u6b64\u65f6\u4ee3\u7406\u670d\u52a1\u5668\u5bf9\u5916\u5c31\u8868\u73b0\u4e3a\u4e00\u4e2a\u670d\u52a1\u5668\u3002 \u800cNginx\u4e3b\u8981\u5b8c\u6210\u7684\u5de5\u4f5c\u5c31\u662f\u53cd\u5411\u4ee3\u7406\uff0c\u6bd4\u5982\u6211\u4eec\u5411\u4e00\u53f0\u670d\u52a1\u5668\u768480\u7aef\u53e3\u53d1\u9001\u4e86\u8bf7\u6c42\uff0c\u8be5\u8bf7\u6c42\u9996\u5148\u7531Nginx\u76d1\u542c\u5230\uff0c\u5176\u63a5\u53d7\u5230\u8bf7\u6c42\u5185\u5bb9\u540e\u518d\u8f6c\u53d1\u7ed9\u5176\u4ed6\u670d\u52a1\u5668\uff0c\u5176\u4ed6\u670d\u52a1\u5668\u5904\u7406\u5b8c\u540e\u518d\u5c06\u7ed3\u679c\u4f20\u9001\u7ed9Nginx\uff0c\u6700\u540e\u7531Nginx\u6765\u7edf\u4e00\u8fd4\u56de\u7ed9\u521d\u59cb\u8bf7\u6c42\u7aef\u3002 Nginx\u6700\u5e38\u89c1\u7684\u4f7f\u7528\u65b9\u6cd5\u5c31\u662f\u4f5c\u4e3a\u9759\u6001\u8d44\u6e90\u4f3a\u670d\u5668\uff0c\u6bd4\u5982\u5c06CSS\uff0cJS\uff0chtml\uff0chtm\u7b49\u6587\u4ef6\u8fdb\u884c\u7f13\u5b58\u5904\u7406\u3002 3.\u73af\u5883\u642d\u5efa 3.1\u4e0b\u8f7d \u9996\u5148\u5728\u5b98\u7f51\u4e2d\u4e0b\u8f7d\u6240\u9700\u7248\u672c\uff1ahttp:\/\/nginx.org\/en\/download.html\u3002\u76ee\u524d\u6211\u4f7f\u7528\u7684\u7248\u672c\u662fwindows\u73af\u5883\u4e0b\u76841.9.15\u3002 \u4e0b\u8f7d\u5b8c\u6bd5\u540e\uff0c\u89e3\u538b\u3002 3.2\u5f00\u542fNginx \u5f00\u542fNginx\u6709\u4e24\u79cd\u65b9\u6cd5\uff0c\u4e00\u79cd\u662f\u76f4\u63a5\u70b9\u51fb\u5f00\u542f\uff0c\u4e00\u79cd\u662f\u547d\u540d\u884c\u5f00\u542f\u3002 a.\u70b9\u51fb\u5f00\u542f\uff1a b.\u547d\u540d\u884c\u5f00\u542f\uff1a [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[1],"tags":[],"class_list":["post-204","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/blog.jsjs.org\/index.php?rest_route=\/wp\/v2\/posts\/204","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.jsjs.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.jsjs.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.jsjs.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.jsjs.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=204"}],"version-history":[{"count":0,"href":"https:\/\/blog.jsjs.org\/index.php?rest_route=\/wp\/v2\/posts\/204\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.jsjs.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=204"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.jsjs.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=204"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.jsjs.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=204"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}