Returns a plain-text nginx configuration snippet containing deny
directives for all IPs reported to StopForumSpam within the specified time window.
Drop the output into an nginx server or location block.
| Period | Description |
|---|---|
| toxic | Highest-confidence entries only — reported frequently across many sources. |
| 1 | IPs reported in the last 24 hours. |
| 7 | IPs reported in the last 7 days. |
| 30 | IPs reported in the last 30 days. |
| 90 | IPs reported in the last 90 days. |
| 180 | IPs reported in the last 180 days. |
| 365 | IPs reported in the last 365 days. |
| full | All IPs in the database (no time filter). Largest list — use with caution. |
toxic and 7-day lists are recommended
for most use cases as they balance coverage with false-positive risk.
Returns an Apache .htaccess snippet using mod_access_compat
Deny from directives for all IPs in the selected time window.
The full period is not available for htaccess — use 365 for the widest coverage.
| Period | Description |
|---|---|
| toxic | Highest-confidence entries only. |
| 1 | IPs reported in the last 24 hours. |
| 7 | IPs reported in the last 7 days. |
| 30 | IPs reported in the last 30 days. |
| 90 | IPs reported in the last 90 days. |
| 180 | IPs reported in the last 180 days. |
| 365 | IPs reported in the last 365 days. |
Shorter windows contain fewer IPs but are fresher and carry lower false-positive risk. Longer windows cover more persistent bad actors but may block legitimate IPs that have since been reassigned. A recommended starting point for most forum and comment systems:
| Use case | Recommended period |
|---|---|
| High-traffic, low false-positive tolerance | toxic or 7 |
| General forum / comment spam blocking | 30 or 90 |
| Maximum coverage, willing to review false positives | 365 |
| Automation / cron-refreshed blocklist | 7, refreshed daily |