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