Updated: 28 September 2026 · Applies to: cPanel & WHM 138 (EasyApache 4, AlmaLinux 9)
CPNginx is a commercial third-party plugin that adds NGINX to cPanel. Since then, cPanel has added its own supported NGINX integration, so on cPanel & WHM 138 you normally do not need a separate plugin.
cPanel's own NGINX (ea-nginx)
cPanel's NGINX runs as a reverse proxy in front of Apache: NGINX serves static files and can cache pages, while Apache keeps handling .htaccess rules and PHP. It is managed by cPanel and updated with EasyApache 4.
- In WHM, open Software › NGINX® Manager (or install it in Software › EasyApache 4 by adding
ea-nginx). - Install it. From SSH the same is
dnf install ea-nginx. - In NGINX Manager, enable or disable caching per user, and clear the cache when needed.
Good to know
- Caching is on by default, and pages can be served from the cache for up to 60 minutes after a change. Clear it in NGINX Manager, or from SSH with
/usr/local/cpanel/scripts/ea-nginx clear_cache <user>(without a user name it clears all). Turn caching off for one account with/usr/local/cpanel/scripts/ea-nginx cache <user> --enabled=0. - Access logs for NGINX are available in WHM › Account Functions › Raw NGINX® Log Download.
- If you prefer a third-party plugin such as CPNginx, check that its current version supports your cPanel version before installing it, and remove ea-nginx first; do not run both.