【发布时间】:2017-11-22 22:10:34
【问题描述】:
我正在使用 apache 运行 ISPConfig 3 服务器。为了获得 HTTPS,我使用了 let's encrypt 的 certbot。 ISPConfig 支持适用于各种引用的证书生成。
一个站点在不同的端口上本地运行(因为它是一个复杂的系统)。 为了实现它,我在 ISPConfig 中添加了一个新站点并将 apache 配置为反向代理,如下所示。 该站点正在运行,但无法通过 certbot 续订证书(仅适用于该站点)。
ProxyRequests Off
ProxyVia Off
<Proxy *>
Require all granted
</Proxy>
ProxyPass / http://my.domain.com:8080
ProxyPassReverse / http://my.domain.com:8080
我猜问题是挑战文件夹的不可访问性(/acme/.well-known/acme-challenge)
如何将apache配置为反向代理才能更新证书?
【问题讨论】:
标签: apache reverse-proxy lets-encrypt certbot ispconfig