NGINX Only Setup

Hi guys,

Since there are some great improvements in NGINX v1.27.0, that will also be included in Hestia v1.9.0, would it be possible to install Hestia without Apache, and just use NGINX for everything?
Basically, having the option make HestiaCP an NGINX-only panel.

Also, if this is a thing that’s currently possible, is there any chance you guys will add a VHost editor for each domain, like other panels have?
Example:

I know that templates exist for common software like WordPress, but how about custom scripts?
How to add/edit VHosts?

Thanks!

The release version of hestia supports a nginx only setup. I would imagine 1.9 does also. I use apache/nginx so have never tried it

bash hst-install.sh --apache no

regarding vhosts. Once you figure out what file to edit and which one not to edit it goes pretty easy.

1 Like

Same as Apache2 .

You can create your own templates …

1 Like

HestiaCP’s been an nginx-only panel all its life, ever since taking after Vesta :slight_smile:

you can run NGINX + PHP-FPM combo and make your own server templates, which is the setup I’m using.

2 Likes

Ok, so let me see if I got this correctly.

  1. So you install it as NGINX + PHP-FPM only, by using --apache no.
  2. You create your own vhost template (or duplicate the default one and edit it), and you upload it in /usr/local/hestia/data/templates/web/nginx/php-fpm/.
  3. Then in Domain Edit > Advanced, the new template should appear under Web Template, and you’ll be able to select it.

Would these be the right steps? Any other steps to take, like rebuilding stuff etc.?

Yes …

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.