ubuntu_nginx_control
Start, stop, restart, reload Nginx, check its configuration, and view status on Ubuntu servers via SSH.
Instructions
Control Nginx web server on Ubuntu
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"connectionId": "<connectionId>",
"action": "<action>"
},
"name": "ubuntu_nginx_control"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| sudo | No | Whether to run the command with sudo (default: true) | |
| action | Yes | Action to perform (start, stop, restart, status, reload, check-config) | |
| connectionId | Yes | ID of an active SSH connection |