Update config_server.json

This commit is contained in:
chika0801 2023-03-05 15:04:47 +08:00 committed by GitHub
parent 4fea34575f
commit 84be0f3809
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -16,26 +16,40 @@
}, },
"inbounds": [ "inbounds": [
{ {
"listen": "0.0.0.0", "listen": "0.0.0.0", // "0.0.0.0" IPv4IPv6
"port": 16387, // "port": 443, //
"protocol": "vless", "protocol": "vless",
"settings": { "settings": {
"clients": [ "clients": [
{ {
"id": "", // ID "id": "", // ID xray uuid 1-30
"flow": "xtls-rprx-vision" "flow": "xtls-rprx-vision"
} }
], ],
"decryption": "none" "decryption": "none",
"fallbacks": [
{
"dest": "8001",
"xver": 1
},
{
"alpn": "h2",
"dest": "8002",
"xver": 1
}
]
}, },
"streamSettings": { "streamSettings": {
"network": "tcp", "network": "tcp",
"security": "tls", "security": "tls",
"tlsSettings": { "tlsSettings": {
"rejectUnknownSni": true,
"minVersion": "1.2",
"certificates": [ "certificates": [
{ {
"certificateFile": "/etc/ssl/private/fullchain.cer", // "ocspStapling": 3600,
"keyFile": "/etc/ssl/private/private.key" // "certificateFile": "/etc/ssl/private/fullchain.cer", // fullchain v2rayNG 使
"keyFile": "/etc/ssl/private/private.key" //
} }
] ]
} }
@ -58,5 +72,15 @@
"protocol": "blackhole", "protocol": "blackhole",
"tag": "block" "tag": "block"
} }
] ],
"policy": {
"levels": {
"0": {
"handshake": 2,
"connIdle": 120,
"uplinkOnly": 1,
"downlinkOnly": 1
}
}
}
} }