A long-running request returning 504 after exactly sixty seconds is nginx timing out, and which directive applies depends on how the request reaches PHP. Four numbers have to…
Compressing the same unchanging JavaScript bundle on every request is work done thousands of times that could have been done once. With gzip_static on, nginx serves app.js.gz when…
systemctl reload nginx with a broken configuration leaves the old one running and reports success in a way that is easy to miss, right up until the next…
nginx resolves an upstream hostname once at start-up and caches it forever, which breaks the moment a container is recreated with a new address. Using a variable changes…
The rewrite rules are computed once and stored in an option, so a newly registered post type or endpoint returns 404 until something regenerates them — and the…
A rate limiter in the application still costs a PHP-FPM worker per request, which means a burst of login attempts occupies the pool whether or not it is…