mirror of
https://github.com/fscarmen/sing-box.git
synced 2026-08-10 17:55:16 +08:00
v1.2.11 Add server-side time synchronization configuration.
This commit is contained in:
@@ -210,6 +210,18 @@ EOF
|
||||
]
|
||||
}
|
||||
}
|
||||
EOF
|
||||
|
||||
# 内建的 NTP 客户端服务配置文件,这对于无法进行时间同步的环境很有用
|
||||
cat > ${WORK_DIR}/conf/06_ntp.json << EOF
|
||||
{
|
||||
"ntp": {
|
||||
"enabled": true,
|
||||
"server": "time.apple.com",
|
||||
"server_port": 123,
|
||||
"interval": "60m"
|
||||
}
|
||||
}
|
||||
EOF
|
||||
|
||||
# 生成 XTLS + Reality 配置
|
||||
|
||||
Reference in New Issue
Block a user