3 // Run the Kiwi server under a different user/group
14 * Server listen blocks
17 // Do not edit this line!
20 // Example server block
26 // Example SSL server block
29 // address: "0.0.0.0",
32 // ssl_key: "server.key",
33 // ssl_cert: "cert.pem"
41 // Where the client files are
42 conf
.public_http
= "client/";
44 // Max connections per connection. 0 to disable
45 conf
.max_client_conns
= 5;
50 * Array of URLs that will be loaded into the browser when the client first loads up
51 * See http://github.com/prawnsalad/KiwiIRC/wiki/Client-plugins
53 conf
.client_plugins
= [
54 // "http://server.com/kiwi/plugins/myplugin.html"
59 // Enabled CAP extensions (See ENTER URL TO CAP INFO HERE PLS)
60 conf
.cap_options
= [];
65 // Directory to find the server modules
66 conf
.module_dir
= "../server_modules/";
68 // Which modules to load
74 // WebIRC passwords enabled for this server
76 //"irc.network.com": "configured_webirc_password",
77 //"127.0.0.1": "foobar"
80 // Some IRCDs require the clients IP via the username/ident
81 conf
.ip_as_username
= [
86 // Whether to verify IRC servers' SSL certificates against built-in well-known certificate authorities
87 conf
.reject_unauthorised_certificates
= false;
92 * Reverse proxy settings
93 * Reverse proxies that have been reported to work can be found at:
94 * http://github.com/prawnsalad/KiwiIRC/wiki/Running-behind-a-proxy
97 // Whitelisted HTTP proxies in CIDR format
98 conf
.http_proxies
= ["127.0.0.1/32"];
100 // Header that contains the real-ip from the HTTP proxy
101 conf
.http_proxy_ip_header
= "x-forwarded-for";
103 // Base HTTP path to the KIWI IRC client (eg. /kiwi)
104 conf
.http_base_path
= "/kiwi";
108 // Enabled transports for the browser to use
120 // Default quit message
121 conf
.quit_message
= "http://www.kiwiirc.com/ - A hand-crafted IRC client";
124 // Default settings for the client. These may be changed in the browser
126 server
: 'irc.kiwiirc.com',
134 // If not empty, the client may only connect to this 1 IRC server
135 //conf.restrict_server = "irc.kiwiirc.com";
136 //conf.restrict_server_port = 6667;
137 //conf.restrict_server_ssl = false;
138 //conf.restrict_server_channel = "#kiwiirc";
139 //conf.restrict_server_password = "";
140 //conf.restrict_server_nick = "kiwi_";
146 * Do not ammend the below lines unless you understand the changes!
148 module
.exports
.production
= conf
;