mirror of
https://github.com/SagerNet/sing-box.git
synced 2024-11-21 16:11:32 +00:00
897 B
897 B
Introduction
sing-box uses JSON for configuration files.
Structure
{
"log": {},
"dns": {},
"ntp": {},
"inbounds": [],
"outbounds": [],
"route": {},
"experimental": {}
}
Fields
Key | Format |
---|---|
log |
Log |
dns |
DNS |
ntp |
NTP |
inbounds |
Inbound |
outbounds |
Outbound |
route |
Route |
experimental |
Experimental |
Check
sing-box check
Format
sing-box format -w -c config.json -D config_directory
Merge
sing-box merge output.json -c config.json -D config_directory