diff -Naur webapp-config-1.50.16/WebappConfig/config.py webapp-config-1.50.16.nginx/WebappConfig/config.py --- webapp-config-1.50.16/WebappConfig/config.py 2006-12-30 19:38:36.000000000 +0100 +++ webapp-config-1.50.16.nginx/WebappConfig/config.py 2008-12-07 22:29:31.332004162 +0100 @@ -1290,6 +1290,7 @@ allowed_servers = {'apache' : WebappConfig.server.Apache, 'lighttpd' : WebappConfig.server.Lighttpd, 'aolserver': WebappConfig.server.Aolserver, + 'nginx' : WebappConfig.server.Nginx, 'cherokee' : WebappConfig.server.Cherokee} server = self.config.get('USER', 'vhost_server') diff -Naur webapp-config-1.50.16/WebappConfig/server.py webapp-config-1.50.16.nginx/WebappConfig/server.py --- webapp-config-1.50.16/WebappConfig/server.py 2006-12-30 19:38:36.000000000 +0100 +++ webapp-config-1.50.16.nginx/WebappConfig/server.py 2008-12-07 22:32:21.641783286 +0100 @@ -326,6 +326,16 @@ self.vhost_server_uid = get_user('aolserver') self.vhost_server_gid = get_group('aolserver') +class Nginx(Basic): + + name = 'Nginx' + desc = 'supports installation on Nginx' + dep = 'www-servers/nginx' + + def set_server_user(self): + self.vhost_server_uid = get_user('nginx') + self.vhost_server_gid = get_group('nginx') + class Cherokee(Basic): name = 'Cherokee' @@ -341,4 +351,5 @@ OUT.notice('\n'.join(['apache', 'aolserver', 'lighttpd', + 'nginx', 'cherokee'])) diff -Naur webapp-config-1.50.16/config/webapp-config webapp-config-1.50.16.nginx/config/webapp-config --- webapp-config-1.50.16/config/webapp-config 2009-02-22 11:54:59.283549865 +0100 +++ webapp-config-1.50.16.nginx/config/webapp-config 2009-02-22 11:55:48.983957833 +0100 @@ -68,6 +68,7 @@ # aolserver # lighttpd # cherokee +# nginx # # you can override this setting by using the -s switch to webapp-config