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
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 |