Sean
V2EX  ›  问与答

支持https的nginx proxy怎样设置?

  •  
  •   Sean · Apr 5, 2011 via Android · 5468 views
    This topic created in 5693 days ago, the information mentioned may be changed or developed.
    主要是为了使用sshtunnel,http代理已经可以用了。
    server {
    resolver 8.8.8.8;
    listen localhost:3128;
    location / {
    proxy_pass http://$http_host$request_uri;
    }
    }
    这样的话访问http网站没问题,但无法访问https网站。
    请教如何支持https?
    谢谢!
    3 replies  •  1970-01-01 08:00:00 +08:00
    9hills
    9hills
    Apr 6, 2011
    1
    这个。。证书的问题怎么解决?
    Sean
    Sean
    OP
    Apr 6, 2011 via Android
    2
    我现在直接使用tinyproxy,sshtunnel作者推荐。不需要设置,直接运行。
    szqt
    szqt
    Apr 10, 2011
    3
    来看楼主解决方法。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   1263 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 46ms · UTC 21:05 · PVG 05:05 · LAX 13:05 · JFK 16:05
    ♥ Do have faith in what you're doing.