ecp_nginx_set_conf
Overwrite nginx config for a domain with raw file content. Verify the config is valid and confirm to avoid breaking the site.
Instructions
Overwrite the raw nginx config for a domain. Malformed content can break the site - verify the config is valid before writing.
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": {
"domain_name": "<domain_name>",
"file_content": "<file_content>",
"confirm": "<confirm>"
},
"name": "ecp_nginx_set_conf"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| confirm | Yes | ||
| domain_name | Yes | ||
| file_content | Yes |