支持https的nginx proxy怎样设置?

2011 年 4 月 5 日
 Sean
主要是为了使用sshtunnel,http代理已经可以用了。
server {
resolver 8.8.8.8;
listen localhost:3128;
location / {
proxy_pass http://$http_host$request_uri;
}
}
这样的话访问http网站没问题,但无法访问https网站。
请教如何支持https?
谢谢!
5333 次点击
所在节点    问与答
3 条回复
9hills
2011 年 4 月 6 日
这个。。证书的问题怎么解决?
Sean
2011 年 4 月 6 日
我现在直接使用tinyproxy,sshtunnel作者推荐。不需要设置,直接运行。
szqt
2011 年 4 月 10 日
来看楼主解决方法。

这是一个专为移动设备优化的页面(即为了让你能够在 Google 搜索结果里秒开这个页面),如果你希望参与 V2EX 社区的讨论,你可以继续到 V2EX 上打开本讨论主题的完整版本。

https://v2ex.ih06.com/t/11022

V2EX 是创意工作者们的社区,是一个分享自己正在做的有趣事物、交流想法,可以遇见新朋友甚至新机会的地方。

V2EX is a community of developers, designers and creative people.

© 2021 V2EX