Comments (4)
2.x版本在osx平台将使用http代理来拦截流量取代1.x版本的dns拦截流量,目前还处在beta阶段,当前已知问题为意外的访问http://127.0.0.1:38457
会触发代理死循环。 see a2b6fcc
from fastgithub.
2.x版本在osx平台将使用http代理来拦截流量取代1.x版本的dns拦截流量,目前还处在beta阶段,当前已知问题为意外的访问
http://127.0.0.1:38457
会触发代理死循环。 see a2b6fcc
那就是会和其他代理冲突?
from fastgithub.
dns方案也会和其它dns冲突,同理代理方案也会和其它代理冲突。
不过代理有自动代理的pac脚本,这个脚本可以指定域名走哪个代理。
你可以编写pac脚本,保存在比如/home/proxy.pac
,内容大概如下:
function FindProxyForURL(url, host){
var proxy = 'PROXY 127.0.0.1:38457';
if (shExpMatch(host, 'github.com')) return proxy;
if (shExpMatch(host, 'githubstatus.com')) return proxy;
if (shExpMatch(host, 'imgur.com')) return proxy;
if (shExpMatch(host, 'v2ex.com')) return proxy;
if (shExpMatch(host, 's3.amazonaws.com')) return proxy;
if (shExpMatch(host, '*.cloudflare.com')) return proxy;
if (shExpMatch(host, '*.fastgithub.com')) return proxy;
if (shExpMatch(host, 'api.github.com')) return proxy;
if (shExpMatch(host, 'gist.github.com')) return proxy;
if (shExpMatch(host, '*.github.com')) return proxy;
if (shExpMatch(host, '*.githubapp.com')) return proxy;
if (shExpMatch(host, '*.githubassets.com')) return proxy;
if (shExpMatch(host, '*.githubusercontent.com')) return proxy;
if (shExpMatch(host, 'ajax.googleapis.com')) return proxy;
if (shExpMatch(host, 'fonts.googleapis.com')) return proxy;
if (shExpMatch(host, 'themes.googleusercontent.com')) return proxy;
if (shExpMatch(host, '*.gravatar.com')) return proxy;
if (shExpMatch(host, 'fonts.gstatic.com')) return proxy;
if (shExpMatch(host, '*.imgur.com')) return proxy;
if (shExpMatch(host, 'onedrive.live.com')) return proxy;
if (shExpMatch(host, '*.v2ex.com')) return proxy;
if (shExpMatch(host, '*.github.io')) return proxy;
if (shExpMatch(host, '*.fastly.net')) return proxy;
if (shExpMatch(host, '*.s3.amazonaws.com')) return proxy;
if (shExpMatch(host, '*.*.imgur.com')) return proxy;
if (shExpMatch(host, '*.onedrive.live.com')) return proxy;
if (shExpMatch(host, '*.*.fastly.net')) return proxy;
if (shExpMatch(host, '*.*.*.fastly.net')) return proxy;
return 'PROXY {其它代理域名或ip}:{其它代理端口}';
}
然后在网络的自动代理里面填写file://home/proxy.pac
from fastgithub.
@sunruoshi v2.0.0-beta2已发布,你可以测试这个版本是否正常
from fastgithub.
Related Issues (20)
- 是否可以在后台静默运行 HOT 1
- 自动删除了网络代理配置 HOT 1
- FastGithub.UI.exe HOT 2
- 感觉总是有延迟 HOT 2
- 无法加速 HOT 1
- 好用,考虑支持下安卓? HOT 1
- 偷偷上传数据? HOT 2
- 为什么占用内存这么高 HOT 1
- Firefox无法导入cer文件,提示Permission denied HOT 1
- 显示不了图片了
- 既然不支持翻墙,为啥就不能算一个host 给我们呢
- IpAddressList不起作用 HOT 7
- test
- VS Code 使用Linux子系统,没法导入证书,git无法提交
- FastGithub 程序将自动关闭:系统已运行其它实例
- 文件缺少应用程序
- 最近一段时间(半个月)相应速度明显提高 HOT 2
- gitfast HOT 1
- 内存占用这么高😮
- 【继续帮助】MSEdge 117.0.2045.36 (正式版本) (64 位)异常 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fastgithub.