mirror of
https://github.com/XTLS/Xray-examples.git
synced 2024-11-22 00:21:29 +00:00
Update config_server.json
Removed quotation mark from port number, which was causing xray client side not to start, Added more arguments, Added documentation to help novice users.
This commit is contained in:
parent
9bee2abc05
commit
6517444af2
|
@ -5,17 +5,24 @@
|
||||||
"inbounds": [
|
"inbounds": [
|
||||||
{
|
{
|
||||||
"protocol": "vless",
|
"protocol": "vless",
|
||||||
"port": "{{ port }}",
|
"port": , //import desired port number
|
||||||
"settings": {
|
"settings": {
|
||||||
"decryption":"none",
|
"decryption":"none",
|
||||||
"clients": [
|
"clients": [
|
||||||
{"id": "{{ }}"}
|
{"id": ""} //enter generated UUID
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"streamSettings": {
|
"streamSettings": {
|
||||||
"network": "kcp",
|
"network": "kcp",
|
||||||
|
"mtu": 1360,
|
||||||
|
"uplinkCapacity":5,
|
||||||
|
"downlinkCapacity":12,
|
||||||
|
"congestion":false,
|
||||||
|
"header":{
|
||||||
|
"type":"dtls" //most secure protocol in kcp
|
||||||
|
},
|
||||||
"kcpSettings": {
|
"kcpSettings": {
|
||||||
"seed": "{{ seed }}"
|
"seed": "" //kcp seed or stream password, it is optional
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue