cPanel::nginx - Perl extension for integration cPanel and webserver NGINX <http://nginx.org/en/>
use cPanel::nginx; my $authHash = getAuthHash(); my $cPanelXMLAPIResponse = getXMLAPIResponse('listips'); my %opt = (domain => 'domain.com', Line => '9'); my $cPanelXMLAPIResponse1 = getXMLAPIResponse('getzonerecord', %opt);
cPanel haven't the integration methods with popular webserver NGINX. The functions of this module helps you automatic create and delete NGINX vhost files, add addon domain or subdomain, delete them and etc, according to cPanel events.
cPanel documentation - <http://etwiki.cpanel.net/twiki/bin/view/AllDocumentation/WebHome> NGINX documentation - <http://nginx.org/en/>
Aleksey Vaganov, <avaganov@idivision.ru>
Copyright (C) 2012 by Aleksey Vaganov
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.8.8 or, at your option, any later version of Perl 5 you may have available.
To install cPanel::nginx, copy and paste the appropriate command in to your terminal.
cpanm
cpanm cPanel::nginx
CPAN shell
perl -MCPAN -e shell install cPanel::nginx
For more information on module installation, please visit the detailed CPAN module installation guide.