{"id":527304,"date":"2021-08-20T13:35:29","date_gmt":"2021-08-20T05:35:29","guid":{"rendered":"http:\/\/4563.org\/?p=527304"},"modified":"2021-08-20T13:35:29","modified_gmt":"2021-08-20T05:35:29","slug":"bt%e5%8f%8d%e4%bb%a3%e6%9c%ac%e7%ab%99%e9%97%ae%e9%a2%98","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=527304","title":{"rendered":"BT\u53cd\u4ee3\u672c\u7ad9\u95ee\u9898"},"content":{"rendered":"\n<p>  \t\t\t\t\t<strong>hqt<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3>BT\u53cd\u4ee3\u672c\u7ad9\u95ee\u9898<\/h3>\n<p>  \t\t\u5b9d\u5854\u53cd\u4ee3\u672c\u7ad9\uff0c\u81ea\u52a8\u8df3\u8f6c\u56de\u539f\u7ad9\u70b9\uff0c\u4e3a\u5565\uff1f\u6211\u8fd9\u8fb9\u6253\u4e0d\u5f00loc\uff0c\u60f3\u501f\u52a9\u8fd9\u4e2a\u8bbf\u95ee\u672c\u7ad9\u3002<br \/>  Nginx\u914d\u7f6e\uff1a<br \/>  server<br \/>  {<br \/>  &nbsp; &nbsp; listen 80;<br \/>  &nbsp; &nbsp; server_name ours1505.top;<br \/>  &nbsp; &nbsp; index index.php index.html index.htm default.php default.htm default.html;<br \/>  &nbsp; &nbsp; root \/www\/wwwroot\/ours1505.top;<br \/>  &nbsp; &nbsp; <br \/>  &nbsp; &nbsp; #SSL-START SSL\u76f8\u5173\u914d\u7f6e\uff0c\u8bf7\u52ff\u5220\u9664\u6216\u4fee\u6539\u4e0b\u4e00\u884c\u5e26\u6ce8\u91ca\u7684404\u89c4\u5219<br \/>  &nbsp; &nbsp; #error_page 404\/404.html;<br \/>  &nbsp; &nbsp; #SSL-END<br \/>  &nbsp; &nbsp; <br \/>  &nbsp; &nbsp; #ERROR-PAGE-START\u9519\u8bef\u9875\u914d\u7f6e\uff0c\u53ef\u4ee5\u6ce8\u91ca\u3001\u5220\u9664\u6216\u4fee\u6539<br \/>  &nbsp; &nbsp; #error_page 404 \/404.html;<br \/>  &nbsp; &nbsp; #error_page 502 \/502.html;<br \/>  &nbsp; &nbsp; #ERROR-PAGE-END<br \/>  &nbsp; &nbsp; <br \/>  &nbsp; &nbsp; #PHP-INFO-STARTPHP\u5f15\u7528\u914d\u7f6e\uff0c\u53ef\u4ee5\u6ce8\u91ca\u6216\u4fee\u6539<br \/>  &nbsp; &nbsp; #\u6e05\u7406\u7f13\u5b58\u89c4\u5219<\/p>\n<p>  &nbsp; &nbsp; location ~ \/purge(\/.*) {<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;proxy_cache_purge cache_one $host$1$is_args$args;<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;#access_log\/www\/wwwlogs\/ours1505.top_purge_cache.log;<br \/>  &nbsp; &nbsp; }<br \/>  &nbsp; &nbsp; &nbsp; &nbsp; #\u5f15\u7528\u53cd\u5411\u4ee3\u7406\u89c4\u5219\uff0c\u6ce8\u91ca\u540e\u914d\u7f6e\u7684\u53cd\u5411\u4ee3\u7406\u5c06\u65e0\u6548<br \/>  &nbsp; &nbsp; &nbsp; &nbsp; include \/www\/server\/panel\/vhost\/nginx\/proxy\/ours1505.top\/*.conf;<\/p>\n<p>  &nbsp; &nbsp; &nbsp; &nbsp; include enable-php-00.conf;<br \/>  &nbsp; &nbsp; #PHP-INFO-END<br \/>  &nbsp; &nbsp; <br \/>  &nbsp; &nbsp; #REWRITE-START URL\u91cd\u5199\u89c4\u5219\u5f15\u7528,\u4fee\u6539\u540e\u5c06\u5bfc\u81f4\u9762\u677f\u8bbe\u7f6e\u7684\u4f2a\u9759\u6001\u89c4\u5219\u5931\u6548<br \/>  &nbsp; &nbsp; include \/www\/server\/panel\/vhost\/rewrite\/ours1505.top.conf;<br \/>  &nbsp; &nbsp; #REWRITE-END<br \/>  &nbsp; &nbsp; <br \/>  &nbsp; &nbsp; #\u7981\u6b62\u8bbf\u95ee\u7684\u6587\u4ef6\u6216\u76ee\u5f55<br \/>  &nbsp; &nbsp; location ~ ^\/(.user.ini|.htaccess|.git|.svn|.project|LICENSE|README.md)<br \/>  &nbsp; &nbsp; {<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;return 404;<br \/>  &nbsp; &nbsp; }<br \/>  &nbsp; &nbsp; <br \/>  &nbsp; &nbsp; #\u4e00\u952e\u7533\u8bf7SSL\u8bc1\u4e66\u9a8c\u8bc1\u76ee\u5f55\u76f8\u5173\u8bbe\u7f6e<br \/>  &nbsp; &nbsp; location ~ .well-known{<br \/>  &nbsp; &nbsp;&nbsp; &nbsp;allow all;<br \/>  &nbsp; &nbsp; }<br \/>  &nbsp; &nbsp; <br \/>  &nbsp; &nbsp; access_log\/www\/wwwlogs\/ours1505.top.log;<br \/>  &nbsp; &nbsp; error_log\/www\/wwwlogs\/ours1505.top.error.log;<br \/>  }<\/p>\n<p>  \u53cd\u4ee3\u914d\u7f6e<\/p>\n<p>  #PROXY-START\/<br \/>  location~* .(gif|png|jpg|css|js|woff|woff2)$<br \/>  {<br \/>  &nbsp; &nbsp; proxy_pass http:\/\/hostloc.com;<br \/>  &nbsp; &nbsp; proxy_set_header Host hostloc.com;<br \/>  &nbsp; &nbsp; proxy_set_header X-Real-IP $remote_addr;<br \/>  &nbsp; &nbsp; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;<br \/>  &nbsp; &nbsp; proxy_set_header REMOTE-HOST $remote_addr;<br \/>  &nbsp; &nbsp; expires 12h;<br \/>  }<br \/>  location \/<br \/>  {<br \/>  &nbsp; &nbsp; proxy_pass http:\/\/hostloc.com;<br \/>  &nbsp; &nbsp; proxy_set_header Host hostloc.com;<br \/>  &nbsp; &nbsp; proxy_set_header X-Real-IP $remote_addr;<br \/>  &nbsp; &nbsp; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;<br \/>  &nbsp; &nbsp; proxy_set_header REMOTE-HOST $remote_addr;<br \/>  &nbsp; &nbsp; <br \/>  &nbsp; &nbsp; add_header X-Cache $upstream_cache_status;<br \/>  &nbsp; &nbsp; <br \/>  &nbsp; &nbsp; #Set Nginx Cache<br \/>  &nbsp; &nbsp; <br \/>  &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; add_header Cache-Control no-cache;<br \/>  }<\/p>\n<p>  #PROXY-END\/\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>hqt<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t\u6765\u4e2a\u5927\u4f6c\t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>hqt<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t@G.K.D \t\t\t\t<\/p>\n<p>  \t\t\t\t\t<strong>szghc<\/strong>  \t\t\t\t\u5927\u4f6c\u6709\u8bdd\u8bf4 : \t<\/p>\n<h3><\/h3>\n<p>  \t\t\u6ca1\u914d\u7f6essl<br \/>  \u53cd\u4ee3http\u8df3\u8f6chttps\t\t\t  <\/p>\n","protected":false},"excerpt":{"rendered":"<p>hqt \u5927\u4f6c\u6709\u8bdd\u8bf4 : BT\u53cd\u4ee3\u672c&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\/527304"}],"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=527304"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/527304\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=527304"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=527304"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=527304"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}