由于这些是在 Discourse 中配置的,我很确定 IP 是由 Discourse 阻止的,而不是 NGINX,因此它们会显示在 NGINX 日志中。是 Discourse 在阻止它们,而不是 nginx。如果你想阻止它们,让它们不显示在 NGINX 日志中,你可以用防火墙阻止它们。
pfaffman
(Jay Pfaffman)
2
相關主題
| 話題 | 回覆 | 觀看 | 活動 | |
|---|---|---|---|---|
| Only allow Cloudflare IPs for Discourse server | 15 | 3861 | 2017年九月22日 | |
| Genuine user cannot register because of IP block | 15 | 1744 | 2019年三月2日 | |
| Geo Blocking plugin | 44 | 4011 | 2026年五月31日 | |
| ISP-based anti-spam countermeasures | 13 | 2691 | 2015年八月11日 | |
| Discourse shows server IP/localhost as user's IP | 18 | 2443 | 2022年七月12日 |