Sean
V2EX  ›  问与答

支持https的nginx proxy怎样设置?

  •  
  •   Sean · Apr 5, 2011 via Android · 5280 views
    This topic created in 5586 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
        1
    9hills  
       Apr 6, 2011
    这个。。证书的问题怎么解决?
    Sean
        2
    Sean  
    OP
       Apr 6, 2011 via Android
    我现在直接使用tinyproxy,sshtunnel作者推荐。不需要设置,直接运行。
    szqt
        3
    szqt  
       Apr 10, 2011
    来看楼主解决方法。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3171 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 00:27 · PVG 08:27 · LAX 17:27 · JFK 20:27
    ♥ Do have faith in what you're doing.