{ "log": { "level": "warn", "timestamp": true }, "inbounds": [ { "type": "vless", "tag": "vless-reality-in", "listen": "::", "listen_port": 443, "users": [ { "uuid": "${UUID}", "flow": "xtls-rprx-vision" } ], "tls": { "enabled": true, "server_name": "${REALITY_SERVER_NAME}", "reality": { "enabled": true, "handshake": { "server": "${REALITY_SERVER_NAME}", "server_port": 443 }, "private_key": "${REALITY_PRIVATE_KEY}", "short_id": ["${REALITY_SHORT_ID}"] } } }, { "type": "hysteria2", "tag": "hysteria2-in", "listen": "::", "listen_port": 8443, "users": [ { "password": "${HY2_PASSWORD}" } ], "tls": { "enabled": true, "server_name": "${DOMAIN}", "certificate_path": "/etc/sing-box/certs/fullchain.pem", "key_path": "/etc/sing-box/certs/privkey.pem" } } ], "outbounds": [ { "type": "direct", "tag": "direct" }, { "type": "block", "tag": "block" } ], "route": { "rules": [ { "ip_is_private": true, "outbound": "block" } ], "final": "direct" } }