Apache2 ProxyPass错误500
我的服务器上运行一个OnlyOffice文档服务器,该服务器通过Docker绑定到8888端口。现在我想使用Let's Encrypt证书来确保安全连接(自签名证书将不起作用)。我在Apache中使用以下配置将office.example.org重写为office.example.org:8888,但它给我带来了一个错误500Apache2 ProxyPass错误500,apache,onlyoffice,Apache,Onlyoffice,我的服务器上运行一个OnlyOffice文档服务器,该服务器通过Docker绑定到8888端口。现在我想使用Let's Encrypt证书来确保安全连接(自签名证书将不起作用)。我在Apache中使用以下配置将office.example.org重写为office.example.org:8888,但它给我带来了一个错误500 <VirtualHost *:443> ServerName office.example.org ProxyPreserveHost On P
<VirtualHost *:443>
ServerName office.example.org
ProxyPreserveHost On
ProxyPass / https://localhost:8888/
ProxyPassReverse / https://localhost:8888/
</VirtualHost>
ServerName office.example.org
代理主机
ProxyPass/https://localhost:8888/
ProxyPassReverse/https://localhost:8888/
所有必要的模块都已启用。
有没有人知道如何解决这个问题,或者有什么不同的想法来解决Let's Encrypt问题?在Apache配置文件中添加以下行
SSLEngine on
SSLProxyEngine on
SSLProxyVerify none
SSLProxyCheckPeerCN off
SSLProxyCheckPeerName off
以及使用启用代理HTTP模块
sudo a2enmod proxy_http
我成功了 将以下行添加到Apache配置文件
SSLEngine on
SSLProxyEngine on
SSLProxyVerify none
SSLProxyCheckPeerCN off
SSLProxyCheckPeerName off
以及使用启用代理HTTP模块
sudo a2enmod proxy_http
我成功了 嗨,这是否意味着添加到
apache2.conf
嗨,这是否意味着添加到apache2.conf