The usual front-controller line repeats the PHP handler configuration, because the fallback has to be a URI and the PHP location has its own fastcgi_pass block. A named…
gzip on compresses every response as it is sent, which for a static bundle means doing the same CPU work for every visitor to produce an identical result.…
Two days lost to PHP extension mismatches. A container per service, what the shared-folder performance problem costs on a VM, and whether it was worth it.
fail2ban is installed for SSH and left there, but the same brute force runs against every HTTP login on the box — a WordPress admin, a staging basic-auth…
Configuration files are read top to bottom, so location blocks look like they are evaluated that way. They are not: nginx picks the longest matching prefix, then lets…