Skip to content

vadimk/virtualmin-nginx

 
 

Repository files navigation

ATENTION

Virtualmin has added official support for nginx: www.virtualmin.com/documentation/web/nginx

Nginx Plugin for Virtualmin/Webmin

Enable add/remove/disable sites in Nginx configuration

Author: Matt Lewandowsky <matt@greenviolet.net>

Version: 0.3.1.1

This is a fork of nginx-webmin plugin from github.com/vixh/nginx-webmin with new features.

INSTALL

  1. Go to Webmin -> Webmin Configuration -> Webmin Modules.

  2. Select “From ftp or http URL” and enter

github.com/downloads/lewellyn/virtualmin-nginx/lewellyn-virtualmin-nginx-current.wbm.gz into the box.

  1. Click “Install Module”.

  2. Go to Webmin -> Servers -> Nginx Webserver and click “Module Config”.

  3. Modify the settings to be appropriate to your local installation.

  4. If using Virtualmin:

  5. Goto Virtualmin -> System Settings -> Features and Plugins and enable

“Nginx Website”, check the configuration via “Configure” link.

2. Goto Virtualserver -> Enabled features and enable "Setup Nginx website for

domain“.

MANUAL INSTALL

The permissions must be root.

  1. Go to ‘/usr/libexec/webmin`

  2. Type ‘git clone git://github.com/gartz/virtualmin-nginx.git nginx`

Virtualmin Apache configuration

For nginx work properly with default module settings, you must do the changes to apache module:

  1. Change listen port to 81: Virtualmin -> System Settings -> Server Templates

-> Template -> Apache website -> Port number for virtual hosts

  1. Check apache config files (/etc/apache2/*.conf) for the string

NameVirtualHost *:81 Be sure that each instance is using an asterisk instead of an IP address.

‘ Do not touch anything after this! ’ Local variables: ‘ c-basic-offset: 2 ’ tab-width: 2 ‘ indent-tabs-mode: nil ’ End: ‘ vi: set sw=2 ts=2 tw=78 et ai ’ :indentSize=2:tabSize=2:noTabs=true:

About

Webmin/Virtualmin Module for Nginx support in virtualservers

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Perl 100.0%