A deleted binary is easy to fix. A deleted config file is harder, because dpkg does not restore config files by default.
sudo apt install --reinstall coreutils
sudo apt install --reinstall -o Dpkg::Options::="--force-confmiss" nginx-common
--reinstall downloads the same version again and unpacks all files. dpkg treats config files specially: if you removed one, it respects that. --force-confmiss tells it to put back config files that are missing. The dpkg manual calls this dangerous, because it also restores files you removed on purpose. Use debsums -c (a separate package) first if you are not sure what is damaged. Afterwards, restart the affected service.
Further reading: apt manual page