{"id":184766,"date":"2020-10-26T06:00:15","date_gmt":"2020-10-25T22:00:15","guid":{"rendered":"http:\/\/4563.org\/?p=184766"},"modified":"2020-10-26T06:00:15","modified_gmt":"2020-10-25T22:00:15","slug":"%e4%b8%80%e4%b8%aa%e6%96%b0%e7%9a%84%e6%96%87%e4%bb%b6%e4%b8%8b%e8%bd%bd%e6%9c%8d%e5%8a%a1%ef%bc%8c%e6%94%af%e6%8c%81-github-%e5%8a%a0%e9%80%9f%e6%88%96%e4%bb%93%e5%ba%93%e9%95%9c%e5%83%8f%e3%80%82","status":"publish","type":"post","link":"http:\/\/4563.org\/?p=184766","title":{"rendered":"\u4e00\u4e2a\u65b0\u7684\u6587\u4ef6\u4e0b\u8f7d\u670d\u52a1\uff0c\u652f\u6301 github \u52a0\u901f\u6216\u4ed3\u5e93\u955c\u50cf\u3002"},"content":{"rendered":"<div>\n<div>\n<div>\n<h1>                  \u4e00\u4e2a\u65b0\u7684\u6587\u4ef6\u4e0b\u8f7d\u670d\u52a1\uff0c\u652f\u6301 github \u52a0\u901f\u6216\u4ed3\u5e93\u955c\u50cf\u3002               <\/h1>\n<p> <\/p>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : program9527 <\/span>  <span><i><\/i> 1<\/span> <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<\/p><\/div>\n<div isfirst=\"1\"> <\/p>\n<p>\u9879\u76ee\u4e3b\u9875\uff1a https:\/\/pd.zwc365.com\/<\/p>\n<p>\u8fd9\u4e2a\u670d\u52a1 Cloudflare \u7ebf\u8def\u90e8\u5206\u662f\u57fa\u4e8e gh-proxy \u4fee\u6539 \uff1a https:\/\/www.v2ex.com\/t\/655015<\/p>\n<p>\u73b0\u5728\u6709\u8bb8\u591a\u4ee3\u4e0b\u670d\u52a1\u3002\u65e2\u7136\u91cd\u590d\u9020\u8f6e\u5b50\uff0c\u90a3\u8fd9\u4e2a\u8f6e\u5b50\u5fc5\u7136\u8981\u5f04\u51fa\u4e00\u4e9b\u4e0d\u540c\u7684\u5730\u65b9\uff1a<\/p>\n<p>\u901a\u8fc7 302 \u91cd\u5b9a\u5411\u652f\u6301\u591a\u4e2a\u8282\u70b9\u8d1f\u8f7d\u5747\u8861,\u53ef\u4ee5\u5f88\u65b9\u4fbf\u6dfb\u52a0\u8282\u70b9\u3002\u4e4b\u6240\u4ee5\u8fd9\u6837\uff0c\u662f\u5e0c\u671b\u6709\u4eba\u52a0\u5165\u8282\u70b9\u7684\u8bdd\uff0c\u53ef\u4ee5\u4f4e\u6210\u672c\u8fd0\u884c\u8fd9\u4e2a\u670d\u52a1\u3002<\/p>\n<p>\u76f4\u63a5\u4f7f\u7528 Nginx \u6765\u8fdb\u884c\u4ee3\u7406\u4e0b\u8f7d\u3002CloudFlare \u7ebf\u8def\u5219\u662f\u4f7f\u7528\u4e86\u5b83\u7684 workers<\/p>\n<p>\u4f7f\u7528\u65b9\u5f0f\u548c\u4e0a\u9762\u63d0\u5230\u7684 gh-proxy \u6ca1\u4ec0\u4e48\u533a\u522b\u3002\u5728 url \u524d\u9762\u52a0\u8fd9\u4e2a\u670d\u52a1 url \u5c31\u884c\u4e86\u3002<\/p>\n<pre><code># \u672c\u7ad9\u7ebf\u8def https:\/\/pd.zwc365.com\/seturl\/  # CloudFlare \u7ebf\u8def https:\/\/pd.zwc365.com\/cfworker\/ <\/code><\/pre>\n<p>\u53ef\u4ee5 clone\uff1a<\/p>\n<pre><code>git clone https:\/\/pd.zwc365.com\/seturl\/https:\/\/github.com\/zwc456baby\/file-proxy.git <\/code><\/pre>\n<p>\u53ef\u4ee5\u4f5c\u4e3a\u4ed3\u5e93\u955c\u50cf\uff1a<\/p>\n<pre><code>allprojects {     repositories {         maven { url 'https:\/\/pd.zwc365.com\/cfworker\/https:\/\/dl.google.com\/dl\/android\/maven2\/' }         maven { url 'https:\/\/pd.zwc365.com\/cfworker\/https:\/\/jcenter.bintray.com' }  \/\/        google() \/\/        jcenter()     } }  <\/code><\/pre>\n<p>\u6015\u88ab\u6ee5\u7528\uff0c\u6240\u4ee5\u6709\u5185\u7f6e\u57df\u540d\u9ed1\u540d\u5355<\/p>\n<p>\u8282\u70b9\u90e8\u7f72\u6709\u4e24\u79cd\u65b9\u5f0f\uff0c\u4e00\u662f\u90e8\u7f72 cf worker \u7248\u672c\uff0c\u628a\u9879\u76ee\u5730\u5740\u7684 <code>index.js<\/code> \u90e8\u7f72\u5230 CloudFlare \u3002\u4e8c\u662f Nginx \u7248\u672c\u3002\u628a\u9879\u76ee\u5730\u5740\u7684 <code>gh-proxy.conf<\/code> \u90e8\u7f72\u5230 Nginx \u914d\u7f6e\u4e2d\u3002\u7136\u540e\u7531\u6211\u624b\u52a8\u914d\u7f6e\u4e00\u4e2a txt \u6587\u4ef6\u5c31\u884c\u4e86\u3002<\/p>\n<\/p><\/div>\n<div> <b>\u5927\u4f6c\u6709\u8a71\u8aaa<\/b> (<span>14<\/span>)        <\/div>\n<div> <\/div>\n<\/p><\/div>\n<\/p><\/div>\n<ul>\n<li data-pid=\"3979500\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : program9527 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u6ca1\u5565\u4eba\uff0c\u663e\u5f97\u6211\u5f88\u5c34\u5c2c\u5440                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3979501\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : hyperbin <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             V2 \u4eba\u5747\u4e00\u628a\u68af\u5b50\uff0c\u9700\u6c42\u592a\u5c11                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3979502\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : cjq8z <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u50cf\u4e8c\u8bf4\u7684\uff0cV \u7ad9\u4eba\u5747\u68af\u5b50\uff0c\u6709\u7684\u8fd8\u4e0d\u53ea\u4e00\u628a                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3979503\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : cjpjxjx <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u7a81\u7136\u60f3\u5230\u6211\u628a\u68af\u5b50\u88c5\u8def\u7531\u5668\u4e0a\u7b97\u4e0d\u7b97\u7535\u68af\uff1f                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3979504\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : program9527 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @hyperbin \u4e5f\u662f\u3002\u3002\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3979505\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : licess <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             url \u76f4\u63a5\u5e26\u57df\u540d\u4f1a\u649e\u5899\u5427\uff0c\u5f04\u4e2a\u7f29\u5199\u6216\u81ea\u5b9a\u4e49\u540d\u79f0\u4f1a\u597d\u70b9\u5427                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3979506\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : program9527 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @licess \u4e0d\u4f1a\u7684\u3002\u53ea\u8981\u90e8\u7f72\u7684\u8282\u70b9\u662f https \u7684\u3002\u90a3\u4e48 tls \u4f1a\u52a0\u5bc6\u8bbf\u95ee\u7684 url \u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3979507\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : program9527 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @licess \u4e0d\u5f04\u7f29\u5199\u6216\u8005\u81ea\u5b9a\u4e49\u540d\u79f0\u662f\u4e3a\u4e86\u517c\u5bb9\u66f4\u591a\u7684\u7528\u6cd5\u3002\u50cf\u4e0a\u9762\u8bf4\u7684\u7684\uff0c\u652f\u6301 clone \u6216\u8005 \u4ed3\u5e93\u955c\u50cf\u3002\u8fd8\u53ef\u4ee5\u62c9\u53d6 android \u7cfb\u7edf\u6e90\u7801\u3002\u7528\u6cd5\u90fd\u4e00\u6837\u3002\u5982\u679c\u7528\u7f29\u5199\uff0c\u5c31\u4e0d\u597d\u5904\u7406\u4e86                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3979508\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : lxk11153 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u6709\u7528\u5230\u3002\u8c22\u8c22                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3979509\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : realpg <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u7801\u519c\u4eba\u5747 2.5 \u628a\u68af\u5b50 \u4f2a\u9700\u6c42                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3979510\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : lb1094974 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5176\u5b9e\u8fd8\u633a\u6709\u7528\u7684\uff0c\u6bd5\u7adf\u6709\u7684\u65f6\u5019\u68af\u5b50\u8fd8\u662f\u4e0d\u592a\u65b9\u4fbf\uff0c\u611f\u89c9\u81ea\u6211\u800c\u8a00\u786e\u5b9e\u6709\u8fd9\u79cd\u9700\u6c42\uff0c\u8c22\u8c22\u4e3b\uff0c\u633a\u597d\u7684[]~(\uffe3\u25bd\uffe3)~*                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3979511\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u4e3b<\/span> <span>\u8cc7\u6df1\u5927\u4f6c : program9527 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             @realpg \u53ea\u662f V2EX \u7528\u6237\u8fd9\u4e2a\u7fa4\u4f53\u5f88\u591a\u6709\u68af\u5b50\u3002\u51fa\u4e86 v2ex\uff0c\u6211\u89c9\u5f97\u8fd8\u662f\u5f88\u591a\u6ca1\u6709\u7684\u3002                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3979512\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : nightwitch <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u5373\u4f7f\u4eba\u5747\u4e00\u628a\u68af\u5b50\uff0c\u8fd8\u662f\u6709\u7528\u7684\u3002\u6709\u7684\u65f6\u5019\u5728\u4e0d\u5c5e\u4e8e\u81ea\u5df1\u7684\u7535\u8111\u4e0a\u5de5\u4f5c\uff0c\u6bcf\u6b21\u5e72\u5565\u4e4b\u524d\u5148\u5f97\u4f20\u4e2a [email&#160;protected] \u4e0a\u53bb\u3002\u3002\u6709 https \u955c\u50cf\u7684\u8bdd\uff0c\u514b\u9686\u8f6f\u4ef6\u4e4b\u7c7b\u7684\u4f1a\u65b9\u4fbf\u5f88\u591a                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li data-pid=\"3979513\" data-uid=\"2\">\n<div>\n<div>\n<div> <span>\u8cc7\u6df1\u5927\u4f6c : smartwusir007 <\/span>  <\/div>\n<div> <i title=\"\u5f15\u7528\"><\/i>  <span>          <\/span> <\/div>\n<\/p><\/div>\n<div>                                                             \u633a\u6709\u7528\u7684\uff0c\u4e0b\u8f7d\u8f6f\u4ef6\u5305\u901f\u5ea6\u8fd8\u633a\u53ef\u4ee5\u7684                                                            <\/div>\n<\/p><\/div>\n<\/li>\n<li>\n","protected":false},"excerpt":{"rendered":"<p>\u4e00\u4e2a\u65b0\u7684\u6587\u4ef6\u4e0b\u8f7d\u670d\u52a1\uff0c\u652f\u6301 git&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\/184766"}],"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=184766"}],"version-history":[{"count":0,"href":"http:\/\/4563.org\/index.php?rest_route=\/wp\/v2\/posts\/184766\/revisions"}],"wp:attachment":[{"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=184766"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=184766"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/4563.org\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=184766"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}