I wrote 2 simple scripts that add fail2ban protection for PHPMyAdmin and RoundCube.
I've only tested them on Ubuntu 16.04 on VestaCP 0.9.8-17 with Apache+Nginx.
More jails, distros and only nginx to follow!
Details and usage on Gitlab links below:
Vesta CP PHPMyAdmin Fail2Ban Jail - https://gitlab.com/hwcltjn/vcp-f2b-phpma/
Vesta CP RoundCube Fail2Ban Jail - https://gitlab.com/hwcltjn/vcp-f2b-roundcube/
Let me know what you think!