Commit | Line | Data |
---|---|---|
ab15f618 D |
1 | var conf = {}; |
2 | ||
3 | // Run the Kiwi server under a different user/group | |
4 | conf.user = ""; | |
5 | conf.group = ""; | |
6 | ||
7 | ||
8 | // Server listen blocks | |
9 | conf.servers = []; | |
10 | ||
3be87cdd D |
11 | // Example plain-text server block |
12 | conf.servers.push({ | |
13 | port: 7778, | |
14 | address: "0.0.0.0" | |
15 | }); | |
16 | ||
ab15f618 | 17 | // Example SSL server block |
38da7139 D |
18 | //conf.servers.push({ |
19 | // port: 7777, | |
20 | // address: "0.0.0.0", | |
21 | // | |
22 | // ssl: true, | |
23 | // ssl_key: "server.key", | |
24 | // ssl_cert: "cert.pem" | |
25 | //}); | |
ab15f618 | 26 | |
ab15f618 D |
27 | |
28 | // Where the client files are | |
29 | conf.public_http = "client/"; | |
30 | ||
31 | // Max connections per connection | |
32 | conf.max_client_conns = 5; | |
33 | ||
34 | // Enabled CAP extensions (See ENTER URL TO CAP INFO HERE PLS) | |
35 | conf.cap_options = []; | |
36 | ||
37 | ||
38 | ||
39 | ||
40 | // Directory to find the server modules | |
41 | conf.module_dir = "./kiwi_modules/"; | |
42 | ||
43 | // Which modules to load | |
44 | conf.modules = ["spamfilter", "statistics"]; | |
45 | ||
46 | ||
47 | ||
48 | ||
49 | // WebIRC passwords enabled for this server | |
50 | conf.webirc_pass = { | |
51 | //"irc.network.com": "configured_webirc_password", | |
52 | //"127.0.0.1": "foobar" | |
53 | }; | |
54 | ||
55 | // Some IRCDs require the clients IP via the username/ident | |
56 | conf.ip_as_username = [ | |
57 | "irc.network.com", | |
58 | "127.0.0.1" | |
59 | ]; | |
60 | ||
61 | ||
62 | ||
63 | ||
c6e3ed44 D |
64 | // Whitelisted HTTP proxies |
65 | conf.http_proxies = ["127.0.0.1"]; | |
66 | ||
ab15f618 D |
67 | // Enabled transports for the client to use |
68 | conf.transports = [ | |
69 | "websocket", | |
70 | "flashsocket", | |
71 | "htmlfile", | |
72 | "xhr-polling", | |
73 | "jsonp-polling" | |
74 | ]; | |
75 | ||
b65ad8f1 D |
76 | // Base HTTP path to the KIWI IRC client (eg. /kiwi) |
77 | conf.http_base_path = "/kiwi"; | |
78 | ||
ab15f618 D |
79 | |
80 | // Default quit message | |
1360a454 | 81 | conf.quit_message = "http://www.kiwiirc.com/ - A hand-crafted IRC client"; |
ab15f618 D |
82 | |
83 | ||
84 | ||
85 | ||
86 | ||
87 | /* | |
88 | * Do not ammend the below lines unless you understand the changes! | |
89 | */ | |
90 | module.exports.production = conf; |