由于这些是在 Discourse 中配置的,我很确定 IP 是由 Discourse 阻止的,而不是 NGINX,因此它们会显示在 NGINX 日志中。是 Discourse 在阻止它们,而不是 nginx。如果你想阻止它们,让它们不显示在 NGINX 日志中,你可以用防火墙阻止它们。
pfaffman
(Jay Pfaffman)
2
相关话题
| 话题 | 回复 | 浏览量 | 活动 | |
|---|---|---|---|---|
| Only allow Cloudflare IPs for Discourse server | 18 | 3751 | 2023 年6 月 21 日 | |
| Genuine user cannot register because of IP block | 16 | 1619 | 2019 年4 月 1 日 | |
| ISP-based anti-spam countermeasures | 14 | 2595 | 2025 年12 月 4 日 | |
| Geo Blocking plugin | 43 | 3148 | 2026 年5 月 9 日 | |
| Discourse shows server IP/localhost as user's IP | 19 | 2171 | 2022 年7 月 12 日 |