mirror of
https://github.com/zhboner/realm.git
synced 2026-11-17 08:15:55 +00:00
30 lines
528 B
JSON
30 lines
528 B
JSON
{
|
|
"log": {
|
|
"level": "warn",
|
|
"output": "realm.log"
|
|
},
|
|
"network": {
|
|
"no_tcp": false,
|
|
"use_udp": true
|
|
},
|
|
"endpoints": [
|
|
{
|
|
"listen": "0.0.0.0:10000",
|
|
"remote": "127.0.0.1:20000",
|
|
"extra_remotes": [
|
|
"127.0.0.1:20001",
|
|
"127.0.0.1:20002"
|
|
],
|
|
"balance": "roundrobin: 4, 2, 1"
|
|
},
|
|
{
|
|
"listen": "0.0.0.0:20000",
|
|
"remote": "127.0.0.1:30000",
|
|
"extra_remotes": [
|
|
"127.0.0.1:30001"
|
|
],
|
|
"balance": "iphash: 2, 1"
|
|
}
|
|
]
|
|
}
|