config_create
Create a custom BunkerWeb configuration snippet from text and save it to the database for the scheduler to apply later.
Instructions
Create one custom config snippet from text. Use configs_upload for several files. Saved to the database; the scheduler applies it later; this tool cannot confirm it is live.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | Configuration content | |
| name | Yes | Snippet name: letters, digits, _ or -, no extension | |
| type | Yes | Custom config type, e.g. http, server-http, default-server-http, stream, server-stream, modsec, modsec-crs, crs-plugins-before, crs-plugins-after | |
| service | No | Service ID that owns the snippet; omit or 'global' for global | |
| is_draft | No | Create as draft |