Discourse 没有 SSL?Apache2 代理中的 SSL

嘿!我刚搭建好 Discourse,遇到了一些问题。我设置了不同的端口,因为我打算使用 Apache2 服务器作为代理/反向代理(我不确定正确的术语是什么)。当我尝试启动 Discourse 实例时,日志中打印了以下错误,导致我无法访问 Discourse:

nginx: [emerg] cannot load certificate "/shared/ssl/subdomain.website.tld.cer": PEM_read_bio_X509_AUX() failed (SSL: error:0909006C:PEM routines:get_name:no start line:Expecting: TRUSTED CERTIFICATE)

有没有办法直接禁用 SSL?因为我通常通过 Apache2 来处理 SSL,毕竟我可以在那里轻松使用我的 .crt 和 .key 文件。如果不能,a) 我该如何解决这个问题(看起来是缺少 .cer 文件,因为根本没有 shared/ssl 文件夹;既然我只有 .crt 和 .key,该如何获取该文件?)以及 b) 如果 SSL 已经由 Discourse 处理,我在虚拟主机(Vhost)中需要做什么?
以下是我通常使用的关于代理和 SSL 的部分配置:

ProxyPass / http://<discourse-vps-ip>:<http-port>/
SSLEngine on
SSLCertificateFile /etc/apache2/ssl/<filename>.crt
SSLCertificateKeyFile /etc/apache2/ssl/<filename>.key

如果您想在 Discourse 中禁用 SSL,请编辑 app.yml 文件(/var/discourse/containers/app.yml),并删除开头几行中名称包含 SSL 的模板。然后执行重建操作(./launcher rebuild app),重建完成后,Discourse 将仅通过 HTTP 访问。

这非常简单。我现在试过了,但我的页面仍然无法访问,不过至少日志中的输出有所不同了:

root@<vps-hostname>:/var/discourse# docker container logs <container-id>
run-parts: 正在执行 /etc/runit/1.d/00-ensure-links
run-parts: 正在执行 /etc/runit/1.d/00-fix-var-logs
run-parts: 正在执行 /etc/runit/1.d/anacron
run-parts: 正在执行 /etc/runit/1.d/cleanup-pids
清理过期的 PID 文件
run-parts: 正在执行 /etc/runit/1.d/copy-env
已启动 runsvdir,PID 为 38
ok: run: redis: (pid 48) 0s
ok: run: postgres: (pid 46) 0s
chgrp: 无效的用户组:'syslog'
rsyslogd: imklog: 无法打开内核日志 (/proc/kmsg):操作不允许。
rsyslogd: imklog 模块激活失败 [v8.1901.0 尝试访问 https://www.rsyslog.com/e/2145 ]
supervisor pid: 51 unicorn pid: 76

Discourse 不像“普通”容器那样运行,因此 docker logs 对我们来说没什么用。

实际的日志位于 /var/discourse/shared/standalone/logs/

但如果重建已成功完成且没有错误,当你尝试 curl 你设置的应用程序监听端口时会发生什么?

您的意思是名为“log”的文件夹吗?因为并没有名为“logs”的文件夹。在其中我有 var-log 和 rails 两个文件夹,它们都包含多个文件。我需要查看哪些文件?
另外,我不了解 curl 的工作原理。(我想去搜索,但我不确定具体该用 curl 做什么,因此也不知道该搜索什么。)