Nginx not available in virtualmin, no status shown in webmin

8 posts / 0 new
Last post
#1 Tue, 03/26/2019 - 02:04
sporkman

Nginx not available in virtualmin, no status shown in webmin

Hi all,

Running webmin 1.900 and virtualmin GPL 6.05 on FreeBSD 11.2. I have nginx installed, and also installed the "official" nginx module from here: https://www.justindhoffman.com/project/nginx-webmin-module

I found the nginx module and configured it in webmin (setting paths to the nginx config files).

No errors, but at the bottom of the webmin dashboard, in the last section, which shows services (running or not), there is no nginx. If I go to virtualmin and look in "features and plugins" there is no nginx.

How do I start debugging this?

Am I using the right nginx module?

Tue, 03/26/2019 - 17:33
sporkman

Just for reference, some screenshots... Also, if this is something that just isn't working/finished or whatever, let me know and I'll move on...

webmin dash:

https://i.imgur.com/bpZEXJW.png

webmin nginx panel:

https://i.imgur.com/PtT7hLA.png

webmin running services:

https://i.imgur.com/WfG2HxB.png

virtualmin package/plugin/feature list:

https://i.imgur.com/zQIB0vS.png

To be clear, nginx is running, the stop/start button in the webmin panel shown above does start and stop the service properly. It just seems like some part of webmin/virtualmin don't know it's there.

Wed, 03/27/2019 - 12:37
sporkman

Is this an active project or is it on the way out? I was looking at the paid options, but don't want to hitch my horse to something that may or may not be a going concern...

Anyhow, the docs are all over the place for this stuff. I found a "manual install" process that mentions an entire repo of virtualmin modules that don't seem to be listed in the "module" manager: http://software.virtualmin.com/gpl/wbm

There are two nginx modules in that repo and when I installed them, they certainly seem to work. But I have no idea why they don't show up in the module list inside webmin. :)

Wed, 03/27/2019 - 12:41
Welshman
Welshman's picture

Personally I would recommend Apache every time.

That is just my opinion though.

Tell me the pros on using nginx.

Kind regards,

Welshman.

Chaos Reigns Within, Reflect, Repent and Reboot, Order Shall Return.

Wed, 03/27/2019 - 12:44
sporkman

Running in a small VPS and I need a smaller memory footprint than Apache/mod-php can provide.

Wed, 03/27/2019 - 12:54
Welshman
Welshman's picture

Ok , but are you aware you can have very nice vps setups these days for about 3 euro, check out Hetzner, what sort of work and traffic do you do exactly, will give me a better picture!

Eric one of the official dudes here does hosting.

Kind regards,

Welshman.

Chaos Reigns Within, Reflect, Repent and Reboot, Order Shall Return.

Wed, 03/27/2019 - 13:15
andreychek

Howdy,

Unfortunately FreeBSD doesn't get a lot of testing, and most of us are not too familiar with it, so troubleshooting can be kind of tough... is using Linux as an OS an option? As getting Nginx running on that can be a lot simpler. The installer actually has an option to configure Nginx rather than Apache on Linux.

That said, we do recommend Apache where possible.

-Eric

Sat, 03/30/2019 - 14:49
sporkman

Thanks all, I might circle back in a few months, looking at some other options now, specifically Froxlor. Please don't take this as a dig, it's just a really minimal project that basically spits config files out, making it pretty OS-agnostic, and if I'd researched more, I would have landed there earlier. It's a nice fit for me (sysadmin for 2+ decades) since it lets me override stuff and again, it's a very small project and I can wrap my head around what it's doing pretty easily.

As for apache vs. nginx, I think you folks are probably correct - for "normal" users, having .htaccess and such work as expected is a benefit, and from what I'm seeing so far, apache can be made to behave pretty well. Thanks for all the input.

Topic locked