如何禁用对已部署的 Discourse 实例的公共访问

您好。

我们计划使用 Discourse 的自有云托管来部署我们的生产系统。
是否有一种方法可以完全将其设置为预发布环境以供管理层审批,同时对外保持关闭状态?

此致,
Luis

You could have it a private Discourse by invitation only. Then you send invitation emails to only those you wish to have in it. It will be private and no one will be able to access it. Web crawlers also will not be able to crawl the site. But what I did for my domain is not to set up a homepage. If a crawler (or anyone) goes to the domain name they only see a blank white default page. Just as my forum is set up. :slightly_smiling_face:

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.

How do I modify the app.yml on a discourse managed cloud instance?
Can’t find any way to access a cli.

You need to reach out to your hosting provider in that case. If it’s us (discourse.org), shoot an email to us at team@discourse.org.

Did that.
Thank you, Joshua.