相关疑难解决方法(0)

Apache 在同一端口上同时应答 HTTP 和 HTTPS

我试图让 apache 从 http 重定向到 https,但是我希望它们都在同一个端口上(20100,但我怀疑这是否重要)。基本上这里发生了什么,除了我不是为 webmin 做这件事。目前我已将其配置为提供 HTTPS,当我使用 HTTP 访问时,我得到:

Your browser sent a request that this server could not understand.
Reason: You're speaking plain HTTP to an SSL-enabled server port.
Instead use the HTTPS scheme to access this URL, please.
Run Code Online (Sandbox Code Playgroud)

似乎有很多有点相似的问题,但是我无法找到一个真正回答我的问题的问题。

ssl https apache-2.2

7
推荐指数
1
解决办法
1万
查看次数

标签 统计

apache-2.2 ×1

https ×1

ssl ×1