{"id":226287,"date":"2020-12-19T12:21:35","date_gmt":"2020-12-19T04:21:35","guid":{"rendered":"http:\/\/4563.org\/?p=226287"},"modified":"2020-12-19T12:21:35","modified_gmt":"2020-12-19T04:21:35","slug":"nginx%e5%8f%8d%e5%90%91%e4%bb%a3%e7%90%86%e7%9a%84%e7%96%91%e9%97%ae","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=226287","title":{"rendered":"nginx\u53cd\u5411\u4ee3\u7406\u7684\u7591\u95ee"},"content":{"rendered":"\n<p>  \t\t\t\t\t<strong>xshell<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3>nginx\u53cd\u5411\u4ee3\u7406\u7684\u7591\u95ee<\/h3>\n<p>  \t\t\u6211\u4eec\u5e73\u65f6\u53cd\u5411\u4ee3\u7406\u90fd\u662f\u57df\u540d\u7684\u6839\u76ee\u5f55\uff0c\u65e2 abc.com<\/p>\n<p>  \u5982\u679c\u6211\u8981\u53cd\u5411\u5230\u5176\u4ed6\u76ee\u5f55\u5e94\u8be5\u600e\u4e48\u64cd\u4f5c\uff0c\u5982 123.com\u53cd\u4ee3\u5230abc.com\/efg\/<\/p>\n<p>  \u6309\u539f\u6765\u7684\u53cd\u5411\u4ee3\u7406\u64cd\u4f5c\u7684\u8bdd\uff0c\u6211\u53cd\u4ee3\u7684\u53ea\u662f\u6e90\u7ad9\u7684123.com\/efg\/\u7684\u76ee\u5f55\uff0c\u5982\u4f55\u505a\u5230\u8bbf\u95eeabc.com\/efg\/\u5c31\u662f123.com\u800c\u4e0d\u662f123.com\/efg\/\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>\u9001\u8d22\u7ae5\u5b50\u5c0f\u82b1\u82b1<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t&nbsp; &nbsp; location ~ mulu{<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;\u4f60\u7684\u53cd\u5e26\u4ee3\u7801;<br \/>  &nbsp; &nbsp; }<br \/>  \u5c0f\u82b1\u82b1\u6c99\u53d1\u9a6c\u514b\u4efb\u52a1(534\/999)  \t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>rooney<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t \u672c\u5e16\u6700\u540e\u7531 rooney \u4e8e 2020-12-19 11:44 \u7f16\u8f91 <\/p>\n<p> \u8eab\u4f53\u5931\u8bef\uff0c\u5f53\u6211\u4ec0\u4e48\u90fd\u6ca1\u8bf4\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>xshell<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t\u9001\u8d22\u7ae5\u5b50\u5c0f\u82b1\u82b1 \u5927\u4f6c\u6709\u8bdd\u8bf4 : 2020-12-19 11:41<br \/>  location ~ mulu{<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;\u4f60\u7684\u53cd\u5e26\u4ee3\u7801;<br \/>  &nbsp; &nbsp; }<\/p>\n<p> \u5149\u8fd9\u6837\u5c31\u884c\u4e86\u561b\uff1f\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>\u9001\u8d22\u7ae5\u5b50\u5c0f\u82b1\u82b1<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\txshell \u5927\u4f6c\u6709\u8bdd\u8bf4 : 2020-12-19 11:50<br \/>  \u5149\u8fd9\u6837\u5c31\u884c\u4e86\u561b\uff1f<\/p>\n<p> \ud83d\ude2e \u90a3\u4e0d\u7136\u54a7\uff0c\u8fd9\u4e2a\u7b80\u5355\u7684\u5c31\u80fd\u89e3\u51b3\u4f60\u7684\u95ee\u9898\u5440<br \/>  \u5728\u4e00\u4e2alocation\u91cc\u624d\u8dd1\u53cd\u5411\u4ee3\u7406\u7684\u4ee3\u7801\uff0c\u5c31\u662f\u4f60\u7684\u9700\u6c42\u5566  \t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>Icarus<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\tlocation \u548c proxy_pass \u8bbe\u7f6e\u597d\u968f\u4fbf\u641e\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>liuyangge<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\trewrite+bypass\u53ef\u4ee5\u5b9e\u73b0\u4e0b\u9762\u793a\u4f8b \u5b9e\u73b0\u4e86\u8bbf\u95ee \u57df\u540d\/tz \u5b9e\u9645\u6307\u5411\u4e3a http:\/\/172.0.0.10:80\/index.php:lol:lol<br \/>  location ~ ^\/tz {<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;rewrite^(.*)$\/index.php$1;break;<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;proxy_pass http:\/\/172.0.0.10:80;<br \/>  &nbsp; &nbsp; }\t\t\t  <\/p>\n","protected":false},"excerpt":{"rendered":"<p>xshell \u5927\u4f6c\u6709\u8bdd\u8bf4 : ng&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\/226287"}],"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=226287"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/226287\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=226287"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=226287"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=226287"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}