Do you really need a nginx proxy with Discourse? That’s an advanced setup. We really recomend sticking to the quick guide and running everything inside the container and using a DNS subdomain for the forums.
Because SSL can be get for free with basic Discourse. And your certificate is probably for https://example.com while forum will be https://something.example.com