sing-box/docs/configuration/index.md
2022-07-20 07:37:50 +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