viponedream / snova

Automatically exported from code.google.com/p/snova
0 stars 0 forks source link

gsnova 0.20.3 spac特定网站不走代理怎么设置? 请作者进来,谢谢! #371

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
用的是gae+C4
寻常代理走gae,twitter等特殊走C4已通过user_pre_spac.jason设置成�
��。但是特定网站不走代理怎么都无法设置成功。不论是在use
r_pre_spac.jason还是在user_spac.jason处设置都无效。

请教作者该在何处以及如何设置?
比如我想github.com和*.opera.com不用代理,走国内网。
非常感谢!

这是我现在修改成功的内容,只改了user_pre_spac.jason

[code][
  {
    "Protocol" : "https",
    "Host" : ["*.facebook.*", "twitter.com", "encrypted.google.com*"],
    "Proxy":  ["C4"]
  },
  {
    "URL" : ["duckduckgo.com", "www.google.*/search"],
    "Proxy": ["Default"]
  }
]
[/code]

Original issue reported on code.google.com by Rafael...@gmail.com on 21 Feb 2013 at 1:45

GoogleCodeExporter commented 8 years ago
不走代理写成  "Proxy": ["Direct"]

Original comment by yinqiwen@gmail.com on 21 Feb 2013 at 1:47

GoogleCodeExporter commented 8 years ago
谢谢

user_pre_spac.jason这样写的

[
  {
    "Protocol" : "https",
    "Host" : ["*.facebook.*", "twitter.com", "encrypted.google.com*"],
    "Proxy":  ["C4"]
  },
  {
    "URL" : ["duckduckgo.com", "www.google.*/search"],
    "Proxy": ["Default"]
  },
  {
    "Host" : ["*github.com*", "*.opera.com*"],
    "Proxy": ["Direct"]
  }
]

可惜无效。没改之前用opera访问https://addons.opera.com/addons/extensi
ons/会拉起证书警告,说明是走的gae;改了后直接无法连接服务
器;但如果关闭浏览器代理其实是可以访问的。

还望作者继续指导,非常感谢!

Original comment by Rafael...@gmail.com on 21 Feb 2013 at 2:05

GoogleCodeExporter commented 8 years ago
这个配置是没有问题的;可能是你写的规则前面的规则匹配��
�github.com
你可以把整个文件附上

Original comment by yinqiwen@gmail.com on 21 Feb 2013 at 2:11

GoogleCodeExporter commented 8 years ago
谢谢

Original comment by Rafael...@gmail.com on 21 Feb 2013 at 2:14

Attachments:

GoogleCodeExporter commented 8 years ago
只增加并修改了user_pre_spac.json 其余文件未修改
C4用的cloudfoundry.com

Original comment by Rafael...@gmail.com on 21 Feb 2013 at 2:18

Attachments:

GoogleCodeExporter commented 8 years ago
"URL" : ["github.com", "*.opera.com"],
改成
"Host" : ["github.com", "*.opera.com"],

Original comment by yinqiwen@gmail.com on 21 Feb 2013 at 2:26

GoogleCodeExporter commented 8 years ago
没有效
之前是"Host" : ["github.com", "*.opera.com"],
试了没效才改的。

突然发现Firefox有效。就是用opera无效,总提示“无法完成安��
�事务”
再然后发现先不开opera浏览器代理正常访问一次,然后开启sno
va代理再访问就可以了。
应该是opera无法在开启代理工具的情况下完成不走代理的安全
证书。没办法,看来只能用回snova spac+pac

看样子是浏览器的问题,不好意思麻烦作者了,非常感谢你��
�帮助。

Original comment by Rafael...@gmail.com on 21 Feb 2013 at 2:55