This script only works with the EasyApache 4 implementation of Nginx. Nginx is currently experimental.
/usr/local/cpanel/scripts/ea-nginx script manages your Nginx configuration. This script will configure or remove an Nginx user, or reload the user configuration.
This script creates the user's configuration file in the following location:
In the following example,
username represents the username.
Run the script
To use this script, run the following command as the
Use the following options with this script:
In the following table,
user represents the username.
Configure either one or all users for Nginx.
Reload your Nginx configuration.
You must pass this argument if you passed the
Remove a user from your Nginx configuration.
Only pass the
Display the script's help information.
Display the abbreviated help information.