What do you intend to use with Virtualmin - Apache or Nginx? You can’t use both.
I suggest you kill your existing install of Virtualmin (which you have FUBARed) and start again with a freshly installed OS and install Virtualmin with the Nginx option.