The front-controller pattern gets written as a rewrite with a regular expression roughly as often as it gets written correctly, and try_files expresses the same intent as a…
nginx defaults to a one megabyte request body and rejects anything larger with a 413 before PHP is involved, so every PHP upload setting in the world makes…
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…