Configure Virtualmin with Nginx as reverse proxy for Ubantu Server

Hello Team,

I am very new to Virtualmin and VPS environment and I am still learning.

Currently I am working on configuring virtualmin for my new dynamic website.

I read lot of article about Nginx and its benefits for dynamic sites.

I would like to integrate these features to my server. I want to use nginx as a reverse proxy to reduce load on server.

currently i am using Ubantu 16.04 LTS with Virtualmin GPL.
Its a fresh setup and virtual hosts not created yet.

Request detailed steps or screenshots of the steps will help

Many thanks


did you tried Google it?

here is the first result that I get and take a look please:


nothing on the site


well that document talks about replacing apache with nginx server.

I have a requirement of using both server, nginx as reverse proxy for apache for static contents.

I found one link from other post, these steps are direct edit of apache and install of Nginx. I am not sure how to configure it in virtualmin without hampering other functionalities or programs.

Let me know if any one already tested, I am curious to know more about it…


I think it would be very great option to get a native option / support for Nginx as reverse proxy for Apache in Virtualmin.

With this you can have the advantages (for a big part) of Nginx without loosing htaccess support or doing complex configurations.
Yes, I think this would be really nice if the Virtualmin authors could add this too. Or maybe some other developer. I am also trying to find a way to realise this.

We’re developing it, you can check it at:

It’s a early version, it works, but need more working on it.

You can improve it or you can propose improvements, or if you know how to work it, a pull requests.