Use this guide and change the proxy_pass line to the IP address of the real Discourse installation.
proxy_pass