ubuntu_nginx_control
Manage Nginx web server operations on Ubuntu via SSH. Perform actions like start, stop, restart, status, reload, and check-config with optional sudo permissions.
Instructions
Control Nginx web server on Ubuntu
Input Schema
Name | Required | Description | Default |
---|---|---|---|
action | Yes | Action to perform (start, stop, restart, status, reload, check-config) | |
connectionId | Yes | ID of an active SSH connection | |
sudo | No | Whether to run the command with sudo (default: true) |
Input Schema (JSON Schema)
{
"properties": {
"action": {
"description": "Action to perform (start, stop, restart, status, reload, check-config)",
"type": "string"
},
"connectionId": {
"description": "ID of an active SSH connection",
"type": "string"
},
"sudo": {
"description": "Whether to run the command with sudo (default: true)",
"type": "boolean"
}
},
"required": [
"connectionId",
"action"
],
"type": "object"
}