NGINX Manager

Update NGINX configuration.

This function rebuilds the NGINX user configuration.

get/nginxmanager_rebuild_cache_config

Request

  • Base URL
    https://whm-server.tld:2087/json-api
  • Auth
    HTTP basic

Query parameters

userstring[]

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.

[
  "unclebob",
  "auntsue"
]

Response

HTTP Request was successful.

Example response

{
  "metadata": {
    "command": "nginxmanager_rebuild_cache_config",
    "reason": "OK",
    "result": 1,
    "version": 1
  }
}

Changes

No recorded changes to this operation across all 5 revisions of this API.