mirror of
https://github.com/SagerNet/sing-box.git
synced 2024-11-27 19:11:28 +00:00
706 B
706 B
Introduction
sing-box uses JSON for configuration files.
Structure
{
"log": {},
"dns": {},
"inbounds": [],
"outbounds": [],
"route": {},
"experimental": {}
}
Fields
Key | Format |
---|---|
log |
Log |
dns |
DNS |
inbounds |
Inbound |
outbounds |
Outbound |
route |
Route |
experimental |
Experimental |
Check
$ sing-box check
Format
$ sing-box format -w