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