My Discourse doesn't work

Did you install nginx on the server?

If DNS is configured correctly the internal nginx within the docker container couldn’t be responsible for showing that page.