Xray editor
Profile and routing presets help build a configuration without rewriting all the JSON.
Where to find it: #/config — Infrastructure.
Workflow
- Choose a preset.
- fill in parameters.
- format.
- validate.
- save.
- check the engine on the node.
Validation failures
Check JSON syntax, unique inbound tags, ports and routing references to existing outboundTag values. Validate the whole document after inserting a snippet. Structural checks are supplemented by xray -test only when an Xray executable exists in the API environment; this does not verify every server.
Verify the result
Routing rules are evaluated in order; the first match wins. Keep private keys and passwords private. Valid syntax does not replace a real connection test.