nginx_validate
Validate nginx configuration on a FastPanel server to catch syntax errors before they cause site outages. Read-only operation does not reload nginx.
Instructions
Run nginx -t on the FastPanel host (over SSH) to validate the live nginx config — use it before and after site_configuration_update to catch syntax errors that would otherwise take nginx (and every site on it) down. Read-only: does NOT reload or modify anything. Requires SSH configured (FASTPANEL_SSH_HOST); uses your own ssh client.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "nginx_validate"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||