sing-box/docs/configuration/index.md
2022-08-31 13:42:30 +08:00

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