Files
infra-docker-configs/servers/bwh-hk-dc3/sing-box/etc/sing-box/config.json.template
T

44 lines
829 B
Plaintext

{
"inbounds": [
{
"type": "trojan",
"tag": "trojan-in",
"listen": "::",
"listen_port": ${LISTEN_PORT},
"sniff": true,
"sniff_override_destination": true,
"users": [
{
"name": "user1",
"password": "${USER1_PASSWORD}"
}
],
"tls": {
"enabled": true,
"server_name": "${DOMAIN}",
"acme": {
"domain": "${DOMAIN}",
"email": "${ACME_EMAIL}",
"dns01_challenge": {
"provider": "cloudflare",
"api_token": "${CLOUDFLARE_API_TOKEN}"
}
}
},
"multiplex": {
"enabled": true
}
}
],
"outbounds": [
{
"type": "direct"
}
],
"log": {
"disabled": false,
"level": "info",
"timestamp": true
}
}