How to disable public access to a staged discourse instance

The simple way is to make the site invite only and login required as suggested already.

Another way would be to modify app.yml to reconfigure nginx to use basic authentication and/or limit by IP.