CSRF login error after upgrade to 2.5.0.beta4

Discourse-doctor doesn’t pretend to be able to diagnose a complex setup like yours. It’s comparing only whether local host and the dns return the same value. For your setup it’s expected that they be different.

I don’t have any hints on your actual problem, though. Sorry.