Discourse 사이트에 접속하지 못하는 문제가 있습니다. 새 도메인으로 이전하는 작업을 하던 중이었으나, 중단하고 변경 사항을 되돌렸음에도 사이트가 다시 뜨지 않고 있습니다. 이 스레드 를 따라 도메인을 변경한 뒤, 모든 작업을 역순으로 되돌렸습니다.
https://discourse.brandywinereef.com
./discourse-setup을 실행하려고 하면 다음과 같은 메시지가 표시됩니다:
Checking your domain name . . .
WARNING: Port 443 of computer does not appear to be accessible using hostname: 443.
WARNING: Connection to http://443 (port 80) also fails.
This suggests that 443 resolves to some IP address that does not reach this
machine where you are installing discourse.
ufw status를 확인하면 다음과 같은 결과가 나옵니다:
Status: active
To Action From
22/tcp LIMIT Anywhere
80/tcp ALLOW Anywhere
443/tcp ALLOW Anywhere
22/tcp (v6) LIMIT Anywhere (v6)
80/tcp (v6) ALLOW Anywhere (v6)
443/tcp (v6) ALLOW Anywhere (v6)
Let’s Encrypt 인증서를 수동으로 삭제한 뒤 다시 발급을 요청했습니다. 하지만 여전히 문제가 해결되지 않습니다.
어떤 아이디어가 있을까요?
RGJ
(Richard - Communiteq)
4월 19, 2022, 6:02오후
2
app.yml에서 호스트명이 잘못 설정된 것 같습니다. 현재 빈 값으로 인식되고 있습니다.
app.yml의 상단입니다. hostname이 있는 것 같은데요…?
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도 있습니다.
awlogan
(Andy Logan)
4월 19, 2022, 6:31오후
4
호스트명(hostname)에 'ree’가 하나 더 들어 있습니다: discourse.brandywineree reef.club
아 진짜… 잘 발견했네! 바로 수정해서 다시 빌드할게.