【发布时间】:2024-05-02 00:05:02
【问题描述】:
问题已移至 Serverfault (https://serverfault.com/questions/346125/ssl-error-rx-record-too-long-ff-django-startssl-windows)
如果这样更合适,请随意删除(我不知道约定是什么)。
【问题讨论】:
问题已移至 Serverfault (https://serverfault.com/questions/346125/ssl-error-rx-record-too-long-ff-django-startssl-windows)
如果这样更合适,请随意删除(我不知道约定是什么)。
【问题讨论】:
(这是 ServerFault 的问题,而不是 * 的问题。)
如果我理解正确,您已经在端口 8082 上设置了带有 SSL 的 Django,而在端口 8081 上设置了没有 SSL。
通常不需要保护 Apache Httpd 服务器和 ProxyPass 后面的服务器之间的通信,从 localhost 到 localhost。你可以简单地使用ProxyPass http://127.0.0.1:8081/。
或者,如果您真的想使用 SSL/TLS 与后端通信(通常,如果后端的服务器是远程的),您需要使用 ProxyPass https://127.0.0.1:8082/ (https) 并设置SSLProxy* 指令(参见mod_proxy summary)。
【讨论】: