NAME

cPanel::nginx - Perl extension for integration cPanel and webserver NGINX <http://nginx.org/en/>

SYNOPSIS

  use cPanel::nginx;
  my $authHash = getAuthHash();
  my $cPanelXMLAPIResponse = getXMLAPIResponse('listips');
  my %opt = (domain => 'domain.com', Line => '9');
  my $cPanelXMLAPIResponse1 = getXMLAPIResponse('getzonerecord', %opt);

DESCRIPTION

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.

SEE ALSO

cPanel documentation - <http://etwiki.cpanel.net/twiki/bin/view/AllDocumentation/WebHome> NGINX documentation - <http://nginx.org/en/>

AUTHOR

Aleksey Vaganov, <avaganov@idivision.ru>

COPYRIGHT AND LICENSE

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.