我无法访问我的 discourse 站点。我当时正在将其迁移到一个新域名,但停止了操作并撤销了更改,它一直没有恢复。我按照此主题更改了域名,然后按相反的顺序撤销了所有操作。
https://discourse.brandywinereef.com
在尝试运行 ./discourse-setup 时,我收到:
正在检查您的域名 . . .
警告:无法通过主机名 443 访问计算机的 443 端口。
警告:连接到 http://443(端口 80)也失败。
这表明 443 解析到一个未连接到您正在安装 discourse 的机器的 IP 地址。
使用 ufw status 检查返回:
状态:活动
到达 操作 来自
22/tcp 限制 任何地方
80/tcp 允许 任何地方
443/tcp 允许 任何地方
22/tcp (v6) 限制 任何地方 (v6)
80/tcp (v6) 允许 任何地方 (v6)
443/tcp (v6) 允许 任何地方 (v6)
我手动清除了 Let’s Encrypt 证书并重新请求了。仍然没有反应。
有什么想法吗?
1 个赞
RGJ
(Richard - Communiteq)
2
您的 app.yml 中的主机名配置不正确,它显示为空。
1 个赞
这是 app.yml 的顶部。看起来主机名就在那里……?
templates:
- templates/postgres.template.yml
- templates/redis.template.yml
- templates/web.template.yml
- templates/web.ratelimited.template.yml
- templates/web.ssl.template.yml
- templates/web.letsencrypt.ssl.template.yml
expose:
- '80:80'
- '443:443'
params:
db_default_text_search_config: pg_catalog.english
db_shared_buffers: 128MB
version: tests-passed
env:
LANG: en_US.UTF-8
UNICORN_WORKERS: 2
DISCOURSE_HOSTNAME: discourse.brandywinereereef.club
我猜那个文件夹里还有其他几个版本是备份,还有一个 import.yml。
1 个赞
awlogan
(Andy Logan)
4
您的主机名中有一个多余的“ree”:discourse.brandywinereereef.club
6 个赞
system
(system)
关闭
7
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.