Installing Hestia on already used VPS

Hello, I have an VPS with 2 hosted websites.
Can i install Hestia and manage the websites already installed?
my VPS configuration: ubuntu - nginx (with brotli and mod_pagespeed modules) - mariadb

I would’t do that.

You should export a backup and install hestia on a clean ubuntu.

No…

Also for Nginx you need build custom modules as they are not available by default

Will these modules work with Hestia? I use nginx 1.21.6 and build these modules.

Mostly yes, you just need to compile your own nginx version and apt hold the “official” one.