Reverse proxy support
[KiwiIRC.git] / server / config.json
CommitLineData
1eaf214f 1{
d423ee18 2 "servers": [
9f6954dc 3 {
6170d584 4 "secure": true,
d423ee18
D
5 "port": 7777,
6 "address": "0.0.0.0",
7
8 "ssl_key": "server.key",
9 "ssl_cert": "cert.pem"
9f6954dc
JA
10 },
11 {
6170d584 12 "secure": false,
d423ee18
D
13 "port": 7778,
14 "address": "0.0.0.0"
9f6954dc
JA
15 }
16
17 ],
4a30a583 18
9f6954dc
JA
19 "user": "",
20 "group": "",
4a30a583 21
09365139 22 "quit_message": "KiwiIRC",
7d1c3ee9 23 "cap_options": [],
4a30a583 24
ceec0f93 25 "handle_http": true,
5638a960 26 "public_http": "./../client/",
6e1c802e 27 "http_base_path": "/client",
a8ce117f 28 "http_proxies": ["127.0.0.1"],
726d3e03 29
43bdc759
JA
30 "max_client_conns": 2,
31
939e638d 32 "module_dir": "./kiwi_modules/",
36cc7c0e
JA
33 "modules": ["spamfilter", "statistics"],
34
35 "webirc": true,
36 "webirc_pass": {
37 "irc.example.com": "examplepassword",
38 "127.0.0.1": "foobar"
938a6630
JA
39 },
40
41 "transports": [
c7c3512e
JA
42 "websocket",
43 "flashsocket",
44 "htmlfile",
938a6630
JA
45 "xhr-polling",
46 "jsonp-polling"
d3b6433a
D
47 ],
48
49 "client_defaults": {
604eaa7d 50 "server": "irc.anonnet.org",
d3b6433a
D
51 "port": 6667,
52 "port_ssl": 6697,
53 "ssl": false
54 }
f1ce3127 55}