白名单域名以防止用户被封禁

community.fhir.org is a discourse site for asking questions about hl7.org/fhir. As such, most questions refer directly to the site. Users are often banned as spammers for excessive external links because of their links to that site, or a couple of others.

Is there a way to whitelist a domain so that users don’t get banned?

see: My questions are being banned - FHIR Community

Have you tried whitelisted link domains: Domains that users may link to even if they don’t have the appropriate trust level to post links

We have now - thanks.

@pfaffman
我在设置中没有看到这个选项。是有什么变化吗?

我找到了。由于当前的 IP 限制,部分客户将无法发帖。我能否利用此功能将某个域名加入白名单?例如,允许所有来自 @sony.com 的用户从同一 IP 进行发帖。

我想不到什么好的解决方案。对于某个客户,其大量用户在同一 NAT 网络下参加了同一场会议,我们只是调高了速率限制。我想如果你够机灵,可以修改容器内的 nginx 配置,将该 IP 从速率限制中豁免。

我并不知道具体该怎么做,只是想象力丰富而已。:wink:

不过……这是 discourse.conf 中的内容。我想你可以搜索一下 Nginx,看看如何为其他地址添加类似的行。

limit_req_zone $binary_remote_addr zone=flood:10m rate=12r/s;

如果你真搞定了,请分享一下。他们总有一天还会举办会议的。

哦,我不确定您指的是 Discourse 还是 nginx 设定的限制。他们看到了什么错误?

这是由 Discourse 设置的速率限制。

他们看到的消息是:登录错误
您的账户存在问题。请联系站点管理员。