With NGINX2Root out, here’s the quick routine I use on any web box (WordPress or otherwise) to see what’s running and upgrade it properly.
1. See what’s actually running
nginx -v
nginx -V 2>&1 | tr ' ' '\n' | grep -E 'http_v2|http_v3|mail|stream'
The second line shows which modules are compiled in. HTTP/2, HTTP/3 and mail matter for this batch of bugs.
2. See what your config actually uses
sudo nginx -T 2>/dev/null | grep -nE 'http2|quic|listen .*443|resolver|mirror|auth_http'
3. Check for a fixed package
# Debian/Ubuntu
apt-cache policy nginx
# Arch / Omarchy
pacman -Qi nginx | grep Version
Distro packages often backport fixes without bumping to 1.30.7/1.31.9, so check your distro’s security tracker for the CVE, not just the version number.
4. Upgrade, test, then restart
sudo nginx -t && sudo systemctl restart nginx
systemctl status nginx --no-pager
Use restart, not reload. A reload re-reads the config, but the old binary keeps running.
God Bless, and May the Source Be with You!