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 | 15 | 3765 | September 22, 2017 | |
| Genuine user cannot register because of IP block | 15 | 1619 | March 2, 2019 | |
| Geo Blocking plugin | 44 | 3297 | May 31, 2026 | |
| ISP-based anti-spam countermeasures | 13 | 2601 | August 11, 2015 | |
| Discourse shows server IP/localhost as user's IP | 18 | 2188 | July 12, 2022 |