jianlinwei / sshtunnel

SSH Tunnel for Android System
GNU General Public License v3.0
30 stars 15 forks source link

nginx要怎么配置才能转发https啊? #109

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
我在vps上装了nginx了,配置如下,这样只能转发http啊,搜了��
�多,都搜不到怎么转发https啊,很多都要什么ssl证书的,这��
�我没有。
resolver 8.8.8.8;
server {
    listen localhost:3128;
    location / {
        proxy_pass http://$http_host$request_uri; 
    }
}

Original issue reported on code.google.com by wengxuf...@gmail.com on 19 Jan 2012 at 4:12

GoogleCodeExporter commented 9 years ago
nginx不支持https代理,用squid或者直接在程序里选socks代理。

Original comment by max.c...@gmail.com on 20 Jan 2012 at 9:53