Enable/Disable toggle buttons in Ngnix module

SYSTEM INFORMATION
OS type and version Debian 13
Webmin version 2.640

Hello Contributors,

do you think you could plan to add a toggle button for each available/enabled website in nginx module ?
something that just create/remove a sym link between a config in sites-available and sites-enabled, and suggest webadmin to restart the service.

don’t know if there’s a vote procedure for feature-requests in case please let me know.

thanks a lot

We don’t generally hold a vote on features, but do welcome suggestions.

That would only work on Debian-based distros. Most OSes don’t have a sites-available and sites-enabled, so it’s more complicated than simply updating links, but still possible.

It hasn’t come up, as far as I know. It’s not a bad idea, though the Apache module also doesn’t have that feature, and we’d probably want to implement it there, too, so it becomes a pretty big set of changes.

But, I will note that if you’re using Virtualmin, you can disable a Virtual Server, which disables the web server virtual host, as well.

Already added in the latest commits and will be released as part of Webmin 2.642:

Thanks, good suggestion! I will look into doing that as well

That’s right, and we should also probably prevent disabling domains created by Virtualmin through the Webmin module.

Implemented both: