cd0639d55c
Ubuntu deployment at /opt/jiedian with pre-filled env for 47.76.87.111. Co-authored-by: Cursor <cursoragent@cursor.com>
70 lines
1.4 KiB
Plaintext
70 lines
1.4 KiB
Plaintext
{
|
|
"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"
|
|
}
|
|
}
|