IE7 icon support
[KiwiIRC.git] / server / config.js
CommitLineData
ab15f618
D
1var conf = {};
2
3// Run the Kiwi server under a different user/group
4conf.user = "";
5conf.group = "";
6
7
8// Server listen blocks
9conf.servers = [];
10
3be87cdd
D
11// Example plain-text server block
12conf.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
29conf.public_http = "client/";
30
31// Max connections per connection
32conf.max_client_conns = 5;
33
34// Enabled CAP extensions (See ENTER URL TO CAP INFO HERE PLS)
35conf.cap_options = [];
36
37
38
39
40// Directory to find the server modules
41conf.module_dir = "./kiwi_modules/";
42
43// Which modules to load
44conf.modules = ["spamfilter", "statistics"];
45
46
47
48
49// WebIRC passwords enabled for this server
50conf.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
56conf.ip_as_username = [
57 "irc.network.com",
58 "127.0.0.1"
59];
60
61
62
63
64// Enabled transports for the client to use
65conf.transports = [
66 "websocket",
67 "flashsocket",
68 "htmlfile",
69 "xhr-polling",
70 "jsonp-polling"
71];
72
b65ad8f1
D
73// Base HTTP path to the KIWI IRC client (eg. /kiwi)
74conf.http_base_path = "/kiwi";
75
ab15f618
D
76
77// Default quit message
1360a454 78conf.quit_message = "http://www.kiwiirc.com/ - A hand-crafted IRC client";
ab15f618
D
79
80
81
82
83
84/*
85 * Do not ammend the below lines unless you understand the changes!
86 */
87module.exports.production = conf;