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 11 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 7,Cloudlinux 7 or its clones, Cloudlinux 8 / Almalinux8 / Centos 8 or higher
Cpanel 11.90 or higher

You should download the cpnginx software and extract it in your server. The following commands can be used for new installation or upgrade ,

Install in Centos 8 / Cloudlinux 8 server / Almalinux 8

    
        # dnf install python2
        # export VERSION=12.1     # This is the version number of cpnginx
        # wget -c wget syslintportal.com/downloads/cpnginx-$VERSION.tar.gz
        # tar -xvzf cpnginx-$VERSION.tar.gz
        # cd cpnginx-$VERSION
        # /usr/bin/python2 install.py install 
    
  

Install in Centos 7 / Cloudlinux 7

    
        # export VERSION=12.1     # This is the version number of cpnginx
        # wget -c wget syslintportal.com/downloads/cpnginx-$VERSION.tar.gz
        # tar -xvzf cpnginx-$VERSION.tar.gz
        # cd cpnginx-$VERSION
        #/usr/bin/python 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 the above installation command.

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