Nginx on webmin in front of virtualmin apache vhosts

I think I may have found some way. I hope this is a proper approach.

when clustering servers, there is an option of cluster copy.
the copy can be scheduled like a cron job.
am I correct they end up as /etc/webmin/cluster-copy/copies/1234567890.copy ?

if so this could be scripted I assume? if so I could create a custom script to run on host creation (and change -> “virtualmin configuration -> actions upon server and user creation”)

workflow:

  • create virtualmin apache host triggers script
  • script creates cluster copy script to copy ssl certs to webmin/nginx
  • copied files end up at webmin/nginx and can be used.

Correct?