as you can see, the last one's tiny, a meta package to pull all what's required.
I suggest you create a new image for your device, via https://firmware-selector.openwrt.org/, and add nginx to the list of packages, it'll include all the dependencies for you.