When an upgrade skips a package I expected to change, a hold is the first thing I check.
apt-mark showhold
sudo apt-mark unhold nginx
apt-mark hold marks a package as held back, which prevents it from being automatically installed, upgraded or removed. showhold prints every package that is on hold, and unhold cancels the hold so all actions work again. Holds survive reboots and normal upgrades, so a forgotten one can keep a security fix away for a long time.
Further reading: apt-mark manual page