v1.2.11 Add server-side time synchronization configuration.

This commit is contained in:
fscarmen
2025-01-28 02:14:00 +00:00
parent 2a4f2eccfd
commit 0079e3d06f
3 changed files with 35 additions and 6 deletions
+12
View File
@@ -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 配置