How to Clear Nginx Cache for User from WHM?
Overview:
For web serving, caching, load balancing, reverse proxy, and other uses, NGNIX is an open-source program. It was first developed as a web server to provide excellent stability and performance.
You may install, remove, and manage your NGNIX using the reverse proxy and caching server using the WHM’s NGINX Manager. Using this interface, you can even control the cache on your server.
We will learn how to utilize WHM to clean the NGINX cache for users in this tutorial.
Install NGINX Manager:
Note: You should have the root access for WHM to work with the Nginx cache option.
- The first step is, you need to install NGINX Manager on your WHM server.
- To do so, go to login to your WHM account, here WHM interface will appear.
- On the right-hand side of the pane, in the Search Tools and Accounts, search for NGINX Manager.
- Click on Install, and then you will get this window after the installation process is complete.

- Now, Go to NGINX Manager.
Here, you will get to see the System Settings and User Settings.
- To clear cache of a particular user, select the checkbox you wish to clear and then, click on Clear Cache.

In the System Settings, you have the option to Clear Cache for All Users. You can clear the cache for multiple users. To do so, select the usernames you want to clear or select the checkbox above the table to select all the visible users. Then, click on the Clear NGINX Cache.

Also, in cPanel, you have the option to Activate and Clear Nginx Cache as shown in image given below:

That’s it!