Updated: 13 November 2026 · Applies to: cPanel & WHM 138
CPNginx is a third-party plugin that puts Nginx in front of Apache on a cPanel server. If a server already has it installed, configure it from WHM › Plugins › cPanel Nginx. On a current cPanel & WHM server, the built-in NGINX option is usually the better choice, and the two must never run together.
cPanel's own NGINX (NGINX Manager)
Current cPanel & WHM ships its own supported NGINX integration, managed in WHM › Software › NGINX Manager. According to cPanel's documentation, installing it makes NGINX the primary web server and moves Apache behind it as a reverse proxy backend; installation also reassigns Apache's default ports to NGINX. It needs EasyApache 4 and root access.
Turn on caching
- In WHM, open Software › NGINX Manager.
- On the System Settings tab, set Use Caching by Default to Enabled to cache new accounts and any account with no explicit setting server-wide.
- On the User Settings tab, toggle caching Enabled or Disabled for one account, or select several accounts and click Enable NGINX Cache. A per-user setting overrides the server default.
- To let individual cPanel users switch their own caching on and off, enable EA4 - Allow enabling/disabling NGINX caching in WHM › Packages › Feature Manager. This adds an NGINX Caching toggle inside cPanel itself.
Do not run two Nginx setups at once
Running a third-party plugin such as CPNginx alongside cPanel's own NGINX Manager causes port conflicts, because both try to take over Apache's ports. Remove the third-party plugin fully before enabling NGINX Manager, and the other way round if you are moving back. If a server already has a working CPNginx setup and is not having problems, there is no need to switch it, but a new server should use the built-in, cPanel-supported option rather than install a separate plugin.
A free, actively maintained alternative some administrators still use instead of the built-in option is Engintron, which sets Nginx up as a reverse caching proxy with a micro-cache layer for dynamic sites. It is installed from its own project, not from WHM, so read its documentation before using it on a production server.
Related reading: What Is cPnginx, the Nginx Plugin for cPanel?, How to Install CPNginx?, Frequently asked questions (FAQ): cPnginx and How to Configure Nginx as a Reverse Proxy for Apache for a from-scratch Nginx and Apache setup outside cPanel.
Official documentation: WHM, NGINX Manager and Engintron.