由于这些是在 Discourse 中配置的,我很确定 IP 是由 Discourse 阻止的,而不是 NGINX,因此它们会显示在 NGINX 日志中。是 Discourse 在阻止它们,而不是 nginx。如果你想阻止它们,让它们不显示在 NGINX 日志中,你可以用防火墙阻止它们。
pfaffman
(Jay Pfaffman)
2
相关话题
| 话题 | 回复 | 浏览量 | 活动 | |
|---|---|---|---|---|
| Only allow Cloudflare IPs for Discourse server | 15 | 3765 | 2017 年9 月 22 日 | |
| Genuine user cannot register because of IP block | 15 | 1619 | 2019 年3 月 2 日 | |
| Geo Blocking plugin | 44 | 3297 | 2026 年5 月 31 日 | |
| ISP-based anti-spam countermeasures | 13 | 2601 | 2015 年8 月 11 日 | |
| Discourse shows server IP/localhost as user's IP | 18 | 2188 | 2022 年7 月 12 日 |