sing-box/docs/configuration/index.md
2022-07-08 18:41:18 +08:00

555 B

Introduction

sing-box uses JSON for configuration files.

Structure

{
  "log": {},
  "dns": {},
  "inbounds": {},
  "outbounds": {},
  "route": {}
}

Fields

Key Format
log Log
dns DNS
inbounds Inbound
outbounds Outbound
route Route

Check

$ sing-box check

Format

$ sing-box format -w