{"id":61666,"date":"2020-04-11T19:00:47","date_gmt":"2020-04-11T11:00:47","guid":{"rendered":"http:\/\/4563.org\/?p=61666"},"modified":"2020-04-11T19:00:47","modified_gmt":"2020-04-11T11:00:47","slug":"nginx-4567%e6%80%8e%e4%b9%88%e5%8f%8d%e5%b8%a6%e5%88%b080%e5%95%8a%e3%80%82%e5%ae%89%e8%a3%85nodebb","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=61666","title":{"rendered":"nginx 4567\u600e\u4e48\u53cd\u5e26\u523080\u554a\u3002\u5b89\u88c5nodebb"},"content":{"rendered":"\n<p>  \t\t\t\t\t<strong>\u4e00\u4e2a\u76d2\u5b50<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3>nginx 4567\u600e\u4e48\u53cd\u5e26\u523080\u554a\u3002\u5b89\u88c5nodebb<\/h3>\n<p>  \t\t\u8bbf\u95ee\u62a5\u9519502<br \/>  centos 7.5 64\u4f4d&nbsp; &nbsp;oneinstack \u4e00\u952e\u5b89\u88c5\u5305\u3002\u53e6\u5916\u4e00\u4e2a\u7f51\u7ad9\u6ca1\u6709\u95ee\u9898\u3002<br \/>  183.225.239.65 &#8211; &#8211;  &quot;GET \/ HTTP\/2.0&quot; 502 552 &quot;-&quot; &quot;Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/80.0.3987.163 Safari\/537.36 Edg\/80.0.361.111&quot;<br \/>  122.152.197.73 &#8211; &#8211;  &quot;GET \/ HTTP\/1.1&quot; 502 150 &quot;-&quot; &quot;DNSPod-Monitor\/2.0&quot;<br \/>  183.225.239.65 &#8211; &#8211;  &quot;GET \/ HTTP\/2.0&quot; 502 552 &quot;-&quot; &quot;Mozilla\/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit\/537.36 (KHTML, like Gecko) Chrome\/80.0.3987.163 Safari\/537.36 Edg\/80.0.361.111&quot;<\/p>\n<p>  # .\/nodebb log<\/p>\n<p>  Hit Ctrl-C to exit<\/p>\n<p>   This will result in much longer template build times.<br \/>   prebuilt module failed to load: linux_79<br \/>   If the above module is not available at `node_modules\/benchpressjs\/rust\/benchpress-rs\/pre-built\/`,<br \/>   you can manually build benchpress-rs following the instructions here:<br \/>   `https:\/\/github.com\/benchpressjs\/benchpressjs\/blob\/master\/README.md#manually-building-native-module`<br \/>  2020-04-11T10:24:07.497Z  &#8211; info:  Restricting access to origin: http:\/\/localhost:*<br \/>  2020-04-11T10:24:08.114Z  &#8211; info: Routes added<br \/>  2020-04-11T10:24:08.172Z  &#8211; info: NodeBB Ready<br \/>  2020-04-11T10:24:08.174Z  &#8211; info: Enabling &#8216;trust proxy&#8217;<br \/>  2020-04-11T10:24:08.176Z  &#8211; info: NodeBB is now listening on: 0.0.0.0:4567  \t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>\u4e00\u4e2a\u76d2\u5b50<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t include \/usr\/local\/nginx\/conf\/rewrite\/none.conf;<br \/>  #error_page 404 \/404.html;<br \/>  #error_page 502 \/502.html;<br \/>  location ~ .*.(wma|wmv|asf|mp3|mmf|zip|rar|jpg|gif|png|swf|flv|mp4)$ {<br \/>  &nbsp; &nbsp; valid_referers none blocked *.abcpython.com www.abcpython.com abcpython.com;<br \/>  &nbsp; &nbsp; if ($invalid_referer) {<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;return 403;<br \/>  &nbsp; &nbsp; }<br \/>  }<br \/>  &nbsp; &nbsp; location \/ {<\/p>\n<p>  &nbsp; &nbsp;&nbsp; &nbsp;proxy_pass https:\/\/abcpython.com:4567;<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;<\/p>\n<p>  &nbsp; &nbsp;&nbsp; &nbsp;&nbsp; &nbsp;}<br \/>  location ~ [^\/].php(\/|$) {<br \/>  &nbsp; &nbsp; #fastcgi_pass remote_php_ip:9000;<br \/>  &nbsp; &nbsp; fastcgi_pass unix:\/dev\/shm\/php-cgi.sock;<br \/>  &nbsp; &nbsp; fastcgi_index index.php;<br \/>  &nbsp; &nbsp; include fastcgi.conf;<br \/>  }<\/p>\n<p>  location ~ .*.(gif|jpg|jpeg|png|bmp|swf|flv|mp4|ico)$ {<br \/>  &nbsp; &nbsp; expires 30d;<br \/>  &nbsp; &nbsp; access_log off;<br \/>  }<br \/>  location ~ .*.(js|css)?$ {<br \/>  &nbsp; &nbsp; expires 7d;<br \/>  &nbsp; &nbsp; access_log off;<br \/>  }<br \/>  location ~ \/(.user.ini|.ht|.git|.svn|.project|LICENSE|README.md) {<br \/>  &nbsp; &nbsp; deny all;<br \/>  }<br \/>  }  \t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>rsc<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t\u5b9d\u5854\u9762\u677f\u4e0d\u9999\u5417\uff0c\u73b0\u5728\u6765\u95ee\u4e86\t\t\t  <\/p>\n","protected":false},"excerpt":{"rendered":"<p>\u4e00\u4e2a\u76d2\u5b50 \u5927\u4f6c\u6709\u8bdd\u8bf4 : ngin&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\/61666"}],"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=61666"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/61666\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=61666"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=61666"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=61666"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}