NGINX
NGINX Trac
3rd Party Modules
Security Advisories
CHANGES
OpenResty
ngx_lua
Tengine
在线学习资源
NGINX 开发从入门到精通
NGINX Modules
ngx_echo
hopewinn
V2EX  ›  NGINX

请问一个 nginx 问题,

  •  
  •   hopewinn · Aug 5, 2016 · 3277 views
    This topic created in 3611 days ago, the information mentioned may be changed or developed.

    我想用 http://www.xxx.com:443 来访问,但是出现错误。 最终目的还是 https ,只是想用 http 协议来访问,大家有没有遇过这种问题?

    3 replies    2016-08-08 19:15:19 +08:00
    fcicq
        1
    fcicq  
       Aug 5, 2016
    nginx 不支持这样的配置. 前面如果挂一个 sslh 的话可以分发一下, 但会引入性能和其他很多问题
    ryd994
        2
    ryd994  
       Aug 5, 2016 via Android
    listen :443;
    为什么不行,当然,你这样就不能在 443 上开 https 了
    hopewinn
        3
    hopewinn  
    OP
       Aug 8, 2016
    谢谢大家抽空回复,明白了。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   997 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 31ms · UTC 19:09 · PVG 03:09 · LAX 12:09 · JFK 15:09
    ♥ Do have faith in what you're doing.