When I add a domain for a user, would like to automatically:
Enable SSL for this domain
Use Let’s Encrypt to obtain SSL certificate
Enable automatic HTTPS redirection
install wordpress
what would the best way to accomplish this be?
also, if i wanted to copy over some wordpress templates/plugins when wordpress is installed, what is the recommended way?
thank you. Is there a way to specify a .sh file to run when a domain is enabled inside of a package? I think that would be a great way to do this. so the package would have a after-domain-added.sh which would run when a new domain is added for a customer that has that package. i wonder if this would be considered a “hook” ?