Let Nginx Add the Trailing Slash, Not WordPress
WordPress loads completely just to redirect /page to /page/. A small nginx map does the same redirect without touching PHP.
6 posts
WordPress loads completely just to redirect /page to /page/. A small nginx map does the same redirect without touching PHP.
The ISPConfig 3.3.3 security release refuses the include directive in the per-site nginx Directives field. The release notes don't say so, but there is a supported override: a custom blacklist file. Here's what changed and how to fix it.
A User-Agent whitelist is not enough to let ClaudeBot or GPTBot through the Nginx Bad Bot Blocker once AbuseIPDB is involved. Here is how to verify AI crawlers against their published IP ranges instead.
Meta's crawlers hit one of my servers at 100 requests per minute from 458 different IPs. Here is how to rate limit the whole meta-external family with plain nginx, without breaking Meta ads landing page verification.
Fake Googlebot traffic can quietly hammer your server. Here is how to verify crawlers against Google and Bing's official IP ranges in nginx and drop the impostors.
The Nginx Bad Bot Blocker script is fantastic and a no-brainer to install on any Nginx server hosting publicly accessible websites. As great as it is though, I’ve recently noticed a significant increase in the number of attacks on the servers which I administer and websites in general. So I looked into into integrating the