/etc/nginx/sites-available and other config files/folder under git version control.
Depending on what you have done after deleting config files you can easily recover a past version using git commands.
cd /etc/nginx/sites-available and start playing commands like
git status ,
If you are not familiar with
git then please backup entire
/etc/nginx before running git commands.