Since these are configured in Discourse, I’m pretty sure that the IPs are blocked by Discourse, not NGINX, so they’ll show up in the NGINX logs. It’s Discourse that’s blocking them, not nginx. If you want to block them so that they don’t show up in the NGINX logs you could block them with your firewall.
pfaffman
(Jay Pfaffman)
2
Related topics
| Topic | Replies | Views | Activity | |
|---|---|---|---|---|
| Only allow Cloudflare IPs for Discourse server | 18 | 3743 | June 21, 2023 | |
| Genuine user cannot register because of IP block | 16 | 1608 | April 1, 2019 | |
| ISP-based anti-spam countermeasures | 14 | 2592 | December 4, 2025 | |
| Discourse shows server IP/localhost as user's IP | 19 | 2152 | July 12, 2022 | |
| Restrict Discourse to IP range | 3 | 651 | September 13, 2017 |