Add support for HTTP Strict Transport Security.
[KiwiIRC.git] / server / config.json
1 {
2 "servers": [
3 {
4 "secure": true,
5 "hsts": true,
6 "port": 7777,
7 "address": "0.0.0.0",
8
9 "ssl_key": "server.key",
10 "ssl_cert": "cert.pem"
11 },
12 {
13 "secure": false,
14 "port": 7778,
15 "address": "0.0.0.0"
16 }
17
18 ],
19
20 "user": "",
21 "group": "",
22
23 "quit_message": "KiwiIRC",
24 "cap_options": [],
25
26 "handle_http": true,
27 "public_http": "./../client/",
28
29 "max_client_conns": 2,
30
31 "module_dir": "./kiwi_modules/",
32 "modules": ["spamfilter", "statistics"],
33
34 "webirc": true,
35 "webirc_pass": {
36 "irc.example.com": "examplepassword",
37 "127.0.0.1": "foobar"
38 },
39
40 "transports": [
41 "websocket",
42 "flashsocket",
43 "htmlfile",
44 "xhr-polling",
45 "jsonp-polling"
46 ],
47
48 "client_defaults": {
49 "server": "irc.anonnet.org",
50 "port": 6667,
51 "port_ssl": 6697,
52 "ssl": false
53 }
54 }