There exists documentation. It’s just that you need to understand both discourse and how reverse proxies work.
Set up Discourse on a server with existing Apache sites
Use Nginx Proxy Manager to manage multiple sites with Discourse
I thought there was another for nginx, but wasn’t able to find it in the link search box.