google-code-export / snova

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

Appfog不支持https? #253

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
各种线路都不能 不过搭建很容易 node.js是大势所趋啊 

Original issue reported on code.google.com by pazz7ven on 10 Dec 2012 at 11:32

GoogleCodeExporter commented 9 years ago
打开google类网站要等老半天 应该是通过dns得到ip吧  还有这个
[Google]
Enable=1
UseGlobalProxy=2
ConnectTimeout=1500
PreferIP=false

基本浏览google网站就原生支持了 
gae只管那些被wall的http连接就是了
但是总要等5,6,7秒钟 还有个user_hosts.conf 
能否像dnsmasq那样指定hosts
就不要搞那么多行hosts了 

Original comment by pazz7ven on 10 Dec 2012 at 11:51

GoogleCodeExporter commented 9 years ago
可以写成*.xyz.com=10.10.10.10, 10.12.10.10

Original comment by yinqiwen@gmail.com on 10 Dec 2012 at 11:53

GoogleCodeExporter commented 9 years ago
dns GlobalProxy cloudhost都要关掉才能从user_hosts里读取?

Original comment by pazz7ven on 10 Dec 2012 at 1:12

GoogleCodeExporter commented 9 years ago
不是,必须是SPAC规则为Direct才会读取hosts配置直连访问。 
user_hosts.conf + cloud_hosts.conf + smarthost, 优先级从前到后

Original comment by yinqiwen@gmail.com on 10 Dec 2012 at 1:18

GoogleCodeExporter commented 9 years ago
我没能成功,东西太凌乱了 我把所有的都关了 只留C4 
https走c4 http走8087 可行?
  {
    "Protocol" : "https",
    "Proxy":  ["C4"]
  },
  {
    "Protocol" : "http",
    "Proxy":  ["http://127.0.0.1:8087"]
  }

对吗

Original comment by pazz7ven on 11 Dec 2012 at 2:08

GoogleCodeExporter commented 9 years ago
可以, [SPAC] Enable为1

Original comment by yinqiwen@gmail.com on 11 Dec 2012 at 2:10

GoogleCodeExporter commented 9 years ago
上面规则写错了,少]
"Proxy":  ["http://127.0.0.1:8087"]

Original comment by yinqiwen@gmail.com on 11 Dec 2012 at 2:11

GoogleCodeExporter commented 9 years ago
工作了,还有就是给google搞个规则 8087现在都支持原生https, 
而且wp代码里有加密的原因
似乎更稳定些

Original comment by pazz7ven on 11 Dec 2012 at 3:06

GoogleCodeExporter commented 9 years ago
[
  {
    "Protocol" : "https",
    "Proxy":  ["C4"]
  },
  {
    "Protocol" : "http",
    "Proxy":  ["http://127.0.0.1:8087"]
  },
  {
    "Host" : ["*.google.com", "*.googleusercontent.com", "*.gstatic.com", "*.googleapis.com", "*.googlecode.com"],
    "Proxy":["http://127.0.0.1:8087"]
  }
]

不起作用啊 

Original comment by pazz7ven on 11 Dec 2012 at 3:45

GoogleCodeExporter commented 9 years ago
 "Proxy"后很多地方少了']',留意命令行输出,看是否解析规则文件失败

Original comment by yinqiwen@gmail.com on 12 Dec 2012 at 1:06

GoogleCodeExporter commented 9 years ago
[
  {
    "Protocol" : "https",
    "Proxy":  ["C4"]
  },
  {
    "Protocol" : "http",
    "Proxy":  ["http://127.0.0.1:8087"]
  },
  {
    "Host" : ["*.google.com", "*.googleusercontent.com", "*.gstatic.com", "*.googleapis.com", "*.googlecode.com"],
    "Proxy" : ["http://127.0.0.1:8087"]
  }
]
似乎不能够 莫非是前面https 被C4接管了 

Original comment by pazz7ven on 12 Dec 2012 at 3:57

GoogleCodeExporter commented 9 years ago

Original comment by yinqiwen@gmail.com on 12 Dec 2012 at 3:59