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"
38 // Do we want to enable the built in Identd server?
50 // Where the client files are
51 conf
.public_http
= "client/";
53 // Max connections per connection. 0 to disable
54 conf
.max_client_conns
= 5;
56 // Max connections per server. 0 to disable.
57 // Setting is ignored if there is a WEBIRC password configured for the server or kiwi is running in restricted server mode.
58 conf
.max_server_conns
= 0;
63 * Array of URLs that will be loaded into the browser when the client first loads up
64 * See http://github.com/prawnsalad/KiwiIRC/wiki/Client-plugins
66 conf
.client_plugins
= [
67 // "http://server.com/kiwi/plugins/myplugin.html"
72 // Enabled CAP extensions (See ENTER URL TO CAP INFO HERE PLS)
73 conf
.cap_options
= [];
78 // Directory to find the server modules
79 conf
.module_dir
= "../server_modules/";
81 // Which modules to load
87 // WebIRC passwords enabled for this server
89 //"irc.network.com": "configured_webirc_password",
90 //"127.0.0.1": "foobar"
93 // Some IRCDs require the clients IP via the username/ident
94 conf
.ip_as_username
= [
99 // Whether to verify IRC servers' SSL certificates against built-in well-known certificate authorities
100 conf
.reject_unauthorised_certificates
= false;
105 * Reverse proxy settings
106 * Reverse proxies that have been reported to work can be found at:
107 * http://github.com/prawnsalad/KiwiIRC/wiki/Running-behind-a-proxy
110 // Whitelisted HTTP proxies in CIDR format
111 conf
.http_proxies
= ["127.0.0.1/32"];
113 // Header that contains the real-ip from the HTTP proxy
114 conf
.http_proxy_ip_header
= "x-forwarded-for";
116 // Base HTTP path to the KIWI IRC client (eg. /kiwi)
117 conf
.http_base_path
= "/kiwi";
121 // Enabled transports for the browser to use
133 // Default quit message
134 conf
.quit_message
= "http://www.kiwiirc.com/ - A hand-crafted IRC client";
137 // Default settings for the client. These may be changed in the browser
139 server
: 'irc.kiwiirc.com',
147 // If set, the client may only connect to this 1 IRC server
148 //conf.restrict_server = "irc.kiwiirc.com";
149 //conf.restrict_server_port = 6667;
150 //conf.restrict_server_ssl = false;
151 //conf.restrict_server_channel = "#kiwiirc";
152 //conf.restrict_server_password = "";
153 //conf.restrict_server_nick = "kiwi_";
159 * Do not ammend the below lines unless you understand the changes!
161 module
.exports
.production
= conf
;