病急乱投医
151
- zwstar2018-09-28金牌会员504
两个不同环境的Web服务器,用同一个nginx做反代。
服务器都在国内,因此不用回答是X导致的问题。场景一:
Web服务器环境为Apache
故障现象为经过nginx反代到apache上,http正常,https下提示为“Reason: The client software did not provide a hostname using Server Name Indication (SNI), which is required to access this server.”场景二:
Web服务器为IIS 8.5
故障现象为经过nginx反代到IIS上,http正常,https下提示“CONNECTION_RESET”,在nginx的error log上提示Connection reset by peer when handing shake。tcpdump抓包显示,nginx端向IIS端发出hello报文后,IIS直接响应RST包,连接强制结束。由于找不到相关资料,请各位处理过这种问题的大佬不吝赐教。