From 47a3f84c1c262f57215a9442dd46e45f1be42423 Mon Sep 17 00:00:00 2001 From: Mark Veidemanis Date: Thu, 21 Jul 2022 13:40:15 +0100 Subject: [PATCH] Update config --- conf/example/config.json | 26 +++++++++++++++++--------- 1 file changed, 17 insertions(+), 9 deletions(-) diff --git a/conf/example/config.json b/conf/example/config.json index 9471a47..9ea4fa5 100644 --- a/conf/example/config.json +++ b/conf/example/config.json @@ -10,25 +10,33 @@ "Address": "127.0.0.1", "UseSSL": true }, + "API": { + "Enabled": true, + "Port": 13869, + "Address": "127.0.0.1" + }, "Key": "key.pem", "Certificate": "cert.pem", - "RedisSocket": "/tmp/redis.sock", - "UsePassword": true, + "RedisSocket": "/var/run/redis/redis.sock", + "RedisDBEphemeral": 2, + "RedisDBPersistent": 3, + "UsePassword": false, "ConnectOnCreate": false, "AutoReg": false, "Debug": false, - "Trace", false, + "Trace": false, "Relay": { "Host": "127.0.0.1", - "Port": "201x", - "User": "sir", - "Password": "sir" + "Port": "2001", + "User": "x", + "Password": "x" }, "Logstash": { - "Host": "10.0.0.2", + "Host": "127.0.0.1", "Port": "4000" }, "ChanKeep": { + "Enabled": false, "MaxRelay": 30, "SigSwitch": 20 }, @@ -38,10 +46,10 @@ "File": "conf/dist.sh" }, "Toggles": { - "Who": false, + "Who": true, "CycleChans": true }, - "Password": "s", + "Password": "x", "Tweaks": { "MaxHash": 10, "DedupPrecision": 9,