Cpnginx is a complete cpanel nginx integration software. It is full of features , 100% customizable and a template based nginx webserver management software.

This document refers to the cpnginx version 10.0 and higher. If you are using old version of the cpnginx you may need to refer the old documentation.

You need to make sure your server have the following software requirements before installing cpnginx . This version of cpnginx only support easyapache 4. We no longer support easyapache 3 which is a depreciated functionality of cpanel software. You need to consider upgrading easy apache to version 4 or higher.

Software Requirements
Operating System Centos 6,7 or its clones
Cpanel 11.58 or higher
Easyapache Easapache version 4 or higher

You should download the cpnginx software and extract it in your server. After that run the following command .

    
        # chmod 755 install.py &&  ./install.py install
    
  

The auto installer will install and setup cpnginx automatically in your server. After finishing the installer you can login to the whm and go to cpnginx link under Plugins. From there you can manage your websites and its configurations.

After that run the following command .

    
        # chmod 755 install.py &&  ./install.py remove
    
  

The will remove cpnginx automatically from your server.

You can upgrade cpnginx by running the following command

    
        # /etc/cpnginx/updatecpnginx.py
    
  

If you like to enable auto udpate. Please set this as a weekly cron job