I've rolled out version 2.5 of the virtualmin-nginx module for all repos. It's been in the Debian/Ubuntu repos for a while, to specifically address issues on newer versions of those distros, but I recently found we had a packaging issue in the RHEL/CentOS version that would lead to the wrong config file being copied into place during installation on RHEL/CentOS 7. This fixes that. While I was at it, I went ahead and rolled it out to the older Debian/Ubuntu repos, too, since there are also a few minor bugfixes.
Changes since 2.4:
If you use virtualmin-nginx on CentOS 7 and Webmin doesn't know how to restart the nginx server (i.e. new domains don't show up until you manually restart nginx), you'll need to manually run the following command to fix it (new installations won't need to do this, but config files do not get overwritten during upgrades for obvious reasons):
# cp /usr/libexec/webmin/virtualmin-nginx/config-CentOS-Linux-7.0-ALL /etc/webmin/virtualmin-nginx/config
This problem only affects RHEL/CentOS version 7 (not 6, and not Debian or Ubuntu).
As always, let us know about any problems you run into. There's a github for the specific module (https://github.com/virtualmin/virtualmin-nginx/) and the issue tracker here works, too.