Very simple trick here, but has a few people at a road block. If you’re running NGINX on VestaCP then the following will redirect all HTTP traffic to HTTPS traffic. Just make sure you’ve got a SSL certificate set-up and working.
Recently I had to test clamd/clamAV to do this today just to make sure my antivirus scanner was working. I’m a big fan of not installing antivirus software for e-mails, because I strongly believe SpamAssassin eliminates it however, sometimes your clients or e-mails have been around for years – and these days it’s getting even harder to eliminate spam and viruses.
I have created a little plugin for VestaCP called the VestaCP Tools Plugin (obviously unofficial as they don’t have any official way to create plugins yet). It’s a super simple way to get an overview of what’s going on inside your VestaCP server. It basically lists all the domain names, mail domains, cron jobs, etc globally so you don’t have to login to each individual user to get the data.
I decided to create the perfect VestaCP server installer script (in my opinion) for CentOS 7 (I have only tried it on CentOS 7). Basically, you run it, it asks a few questions and then it sets up a perfect server including CSF, Monit and PHP 7 (if you want it). Amazing, right?