{"id":66334,"date":"2020-04-15T15:38:30","date_gmt":"2020-04-15T07:38:30","guid":{"rendered":"http:\/\/4563.org\/?p=66334"},"modified":"2020-04-15T15:38:30","modified_gmt":"2020-04-15T07:38:30","slug":"%e8%87%aa%e5%b7%b1%e5%86%99%e7%9a%84%e8%b4%9f%e8%bd%bd%e5%9d%87%e8%a1%a1%e5%9c%a8%e5%ae%9d%e5%a1%94%e4%b8%8a%e9%9d%a2%e6%b2%a1%e6%9c%89%e6%95%88%e6%9e%9c%e6%98%af%e4%bb%80%e4%b9%88%e6%83%85%e5%86%b5","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=66334","title":{"rendered":"\u81ea\u5df1\u5199\u7684\u8d1f\u8f7d\u5747\u8861\u5728\u5b9d\u5854\u4e0a\u9762\u6ca1\u6709\u6548\u679c\u662f\u4ec0\u4e48\u60c5\u51b5\uff1f"},"content":{"rendered":"\n<p>  \t\t\t\t\t<strong>lers<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3>\u81ea\u5df1\u5199\u7684\u8d1f\u8f7d\u5747\u8861\u5728\u5b9d\u5854\u4e0a\u9762\u6ca1\u6709\u6548\u679c\u662f\u4ec0\u4e48\u60c5\u51b5\uff1f<\/h3>\n<p>  \t\t \u672c\u5e16\u6700\u540e\u7531 lers \u4e8e 2020-4-15 15:38 \u7f16\u8f91 <\/p>\n<p> Nginx\u8d1f\u8f7d\u5747\u8861\uff0c\u5b9d\u5854\u4e0a\u9762\u7684\u63d2\u4ef6\u8981\u4ed8\u8d39\uff0c\u53c2\u8003\u7f51\u4e0a\u7684\u5f88\u591a\u6559\u7a0b\uff0c\u4f7f\u7528\u540e\u4e3a\u4ec0\u4e48\u6ca1\u6709\u6548\u679c\uff1f<br \/>  \u4e0b\u9762\u662f\u4ee3\u7801\uff0c\u914d\u7f6e\u6587\u4ef6\u8bbe\u7f6e\u4e86\u5168\u5c40\u4ee3\u7406\uff0c\u4e0d\u7528\u5728\u5b9d\u5854\u53e6\u5916\u8bbe\u7f6e\u53cd\u4ee3\uff0c\u4f46\u662f\u5bf9.php\u7684\u53cd\u4ee3\u4e0d\u4e86\uff0chtml\u7684\u53ef\u4ee5\uff0c\u53ef\u662f\u660e\u660e\u8bbe\u7f6e\u4e86php\u683c\u5f0f\u4e86<br \/>  \u6bd4\u5982\u8bbf\u95eehttp:\/\/test.domain.xyz\/1.html,\u53ef\u4ee5\u6210\u529f\uff0c\u8bbf\u95eehttp:\/\/test.domain.xyz\/1.php\u76f4\u63a5404\uff1b\u5e94\u8be5\u662f\u54ea\u91cc\u6ca1\u6709\u914d\u7f6e\u5bf9\uff0c\u5927\u4f6c\u7ed9\u89e3\u91ca\u4e0b<br \/>  upstream test.domain.xyz{ <br \/>  &nbsp; &nbsp;&nbsp; &nbsp;#ip_hash; #IP\u54c8\u5e0c\u503c\u7b97\u6cd5,\u6839\u636eip\u8fdb\u884c\u5339\u914d\uff0c\u89e3\u51b3session\u95ee\u9898\u3002<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;#fair; #\u6839\u636e\u54cd\u5e94\u65f6\u95f4\u5206\u53d1\u3002<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;server127.0.0.1:88 weight=10; #\u670d\u52a1\u56680\uff0cweight\u4e3a\u6743\u91cd\u3002<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;server127.0.0.2:88 weight=1; #\u670d\u52a1\u56681\u3002<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;server&nbsp; &nbsp;127.0.0.3:88 backup;#\u5907\u7528\u670d\u52a1\u5668,\u4e0a\u9762\u4e24\u4e2a\u670d\u52a1\u5668\u90fd\u5b95\u673a\u540e\u542f\u7528\u8fd9\u4e00\u53f0\u3002<br \/>  }<br \/>  server<br \/>  {<br \/>  &nbsp; &nbsp; listen 80;<br \/>  &nbsp; &nbsp; server_name test.domain.xyz;<br \/>  &nbsp; &nbsp; index index.php index.html index.htm default.php default.htm default.html;<br \/>  &nbsp; &nbsp; root \/www\/wwwroot\/test.802008.xyz;<br \/>  &nbsp; &nbsp; location \/ { <br \/>  &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;proxy_pass http:\/\/$host;<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; proxy_connect_timeout 2s;<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; proxy_set_header Host $host; <br \/>  &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; proxy_set_header X-Real-IP $remote_addr;<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;<br \/>  &nbsp; &nbsp; } <br \/>  &nbsp; &nbsp; access_log\/www\/wwwlogs\/test.802008.xyz.log;<br \/>  &nbsp; &nbsp; error_log\/www\/wwwlogs\/test.802008.xyz.error.log;<br \/>  }<\/p>\n<p>  \t\t\t\t\t<strong>\u4e00\u4e2a\u4e0d\u77e5\u540d\u7f51\u53cb<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t\u8fd9\u6050\u6015\u5c31\u662f\u6280\u672f\u95ee\u9898\u4e86\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>lers<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t\u9ebb\u70e6\u5927\u4f6c\u4eec\u770b\u4e0byc010t\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>34995549<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t\u4f60\u5199\u7684\u63d2\u4ef6\u80fd\u7528\u7684\u8bdd\uff0c\u90a3\u522b\u4eba\u8fd8\u5356\u6536\u8d39\u7684\u63d2\u4ef6\u5e72\u561b\uff1f\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>lers<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t50\u4eba\uff0c0\u56de\u590dyc003t\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>lers<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t\u4e3b\u8981\u7f51\u4e0a\u5f88\u591a\u90fd\u8bf4\u53ef\u4ee5\u4e0d\u7528\u4ed6\u4eec\u7684\u8d1f\u8f7d\u5747\u8861\u6536\u8d39\u63d2\u4ef6\uff0c\u81ea\u5df1\u914d\u7f6e\u4e5f\u53ef\u4ee5\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>lers<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t\u5e94\u8be5\u662f\u4ee3\u7406\u6307\u5411\u6ca1\u6709\u901a\u8fc7PHP\u8fd0\u884c\u89e3\u6790\u7684\u670d\u52a1\t\t\t  <\/p>\n","protected":false},"excerpt":{"rendered":"<p>lers \u5927\u4f6c\u6709\u8bdd\u8bf4 : \u81ea\u5df1\u5199\u7684&hellip;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[],"tags":[],"_links":{"self":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/66334"}],"collection":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=66334"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/66334\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=66334"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=66334"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=66334"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}