› 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 · 3608 views
    This topic created in 3771 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
    fcicq
    Aug 5, 2016
    1
    nginx 不支持这样的配置. 前面如果挂一个 sslh 的话可以分发一下, 但会引入性能和其他很多问题
    ryd994
    ryd994
    Aug 5, 2016 via Android
    2
    listen :443;
    为什么不行,当然,你这样就不能在 443 上开 https 了
    hopewinn
    hopewinn
    OP
    Aug 8, 2016
    3
    谢谢大家抽空回复,明白了。
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   937 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 29ms · UTC 21:48 · PVG 05:48 · LAX 13:48 · JFK 16:48
    ♥ Do have faith in what you're doing.