由于这些是在 Discourse 中配置的,我很确定 IP 是由 Discourse 阻止的,而不是 NGINX,因此它们会显示在 NGINX 日志中。是 Discourse 在阻止它们,而不是 nginx。如果你想阻止它们,让它们不显示在 NGINX 日志中,你可以用防火墙阻止它们。
相关话题
| 话题 | 回复 | 浏览量 | 活动 | |
|---|---|---|---|---|
| Only allow Cloudflare IPs for Discourse server | 18 | 3719 | 2023 年6 月 21 日 | |
| Genuine user cannot register because of IP block | 16 | 1578 | 2019 年4 月 1 日 | |
| ISP-based anti-spam countermeasures | 14 | 2573 | 2025 年12 月 4 日 | |
| Discourse shows server IP/localhost as user's IP | 19 | 2106 | 2022 年7 月 12 日 | |
| Restrict Discourse to IP range | 3 | 643 | 2017 年9 月 13 日 |