Skip to content

Files

Latest commit

 

History

History
32 lines (22 loc) · 845 Bytes

README.md

File metadata and controls

32 lines (22 loc) · 845 Bytes

NginxCP + SSL + Pagespeed

This repository modification of NginxCP. What feature modification ?

  • Enable SSL on NginxCP
  • Add module Pagespeed on NginxCP

How to install:

  1. Clone Repository
    git clone https://github.com/geek-id/nginxcp_pagespeed.git

  2. Open folder nginxcp_pagespeed
    cd nginxcp_pagespeed

  3. Running installer nginxcp
    ./nginx-installer.py

  4. Restart web server
    systemctl restart httpd

  5. Register the plugin nginxcp on cPanel
    /usr/local/cpanel/bin/register_appconfig /var/cpanel/apps/nginxcp.conf

  6. Setting up cron job to clean up temporary files
    crontab -e -u root
    Add the following cron job to the end of line list
    0 */1 * * * /usr/sbin/tmpwatch -am 1 /tmp/nginx_client

Regards,
Geek-ID