외부 도메인의 하위 디렉터리에서 Discourse를 실행하는 방법?

This is never going to work really well with a “normal” install, you really should follow the subfolder install procedure. It will fix your CSP issues and many more. Apart from that, I think you’re almost there.