尊敬的 Discourse 社区。我有一个问题,希望你们能帮助我。
我想在 专用 的 Ubuntu 虚拟机(Oracle VirtualBox)上安装 Discourse。例如:192.168.6.15。
我的本地网络上已经运行了 Apache2 和 Nginx 服务器。
我能否使用类似以下的代理:
(Apache 示例)
<VirtualHost x.x.x.x:443>
ServerName forum.example.org
RewriteEngine On
SSLEngine On
SSLCertificateFile /etc/letsencrypt/live/forum.example.org/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/forum.example.org/privkey.pem
Include /etc/letsencrypt/options-ssl-apache.conf
ProxyPreserveHost On
ProxyRequests Off
ProxyPass / http://192.168.6.15:4578/
ProxyPassReverse / http://192.168.6.15:4578/
</VirtualHost>
这样可以吗?
这是好的做法吗?
我猜 Let’s Encrypt 应该放在代理服务器上处理 SSL?