Update NGINX configuration.

This function rebuilds the NGINX user configuration.

Authorizations:
query Parameters
user
Array of strings <username>
Default: []
Example: user=unclebob&user=auntsue

A list of users whose configuration you want to rebuild.

Note:

If you do not pass this parameter, this function rebuilds the configuration for all users on the system.

Responses

Response Schema: application/json
object

Request samples

whmapi1 nginxmanager_rebuild_cache_config

Response samples

Content type
application/json
{
  • "metadata": {
    • "command": "nginxmanager_rebuild_cache_config",
    • "reason": "OK",
    • "result": 1,
    • "version": 1
    }
}