开启https,设置http可以直接访问,但是还是会自动跳转

新建一个网站开启了https,设置http可以直接访问,但是还是会自动跳转。
由于http的端口为1234,https端口为5678,所以当访问http://abc.com:1234,会自动跳转https://abc.com:1234, 网页显示:

This site can’t provide a secure connection abc.com sent an invalid response.
ERR_SSL_PROTOCOL_ERROR

清理一下浏览器缓存

:grinning:感谢,@1Panel-huiwan,静态站点的测试成功了,将chrome、safari、edge、firefox,的所有缓存彻底删除,可以http和https访问了。希望有这个困扰的小伙伴和可以先删除所有缓存在测试通达性。