업그레이드 사가, 계속된다

업그레이드가 거의 정상적으로 작동하고 있습니다.

서버에는 두 개의 Discourse 커뮤니티가 있습니다.

secondsite 커뮤니티에서는 수신 이메일이 정상적으로 작동하지만, 첫 번째 사이트에서는 작동하지 않습니다. 로그를 확인해 보니 SMTP 서버가 수신 이메일을 수신하고는 있지만, discourse 이메일 로그에는 해당 이메일이 수신되었는지, 처리되었는지, 아니면 거부되었는지를 보여주는 내용이 전혀 없습니다.

두 커뮤니티 간에 이러한 문제를 일으킬 수 있는 설정 차이는 보이지 않고, 문제를 해결하기 위해 다른 어디서 단서를 찾아야 할지 확신이 서지 않습니다.

Looks like rebooting the server (again) may have fixed it.

Looks like rebooting the server (again) may have fixed it.

However, restarting the server built a new container from the image, so the nginx issue is back.

Can anyone tell me why this code exists in the nginx config files for a Discourse container:

in outlets/server/20-https.conf:

if ($http_host != huskerlist.tssi.com) {
rewrite (.*) https://huskerlist.tssi.com$1 permanent;

IMHO, either this code shouldn’t be there or it should also check $http_host against the secondsite FQDN, etc.

How? Are you using a reverse proxy and have multiple containers running?

I’ve moved this topic to #installation:hosting since it appears to be about tinkering with a self-hosted Discourse setup. I also added unsupported-install because it clearly involves a setup that does not follow the official install guide.