aboutsummaryrefslogtreecommitdiffstats
path: root/roles/znc/templates/var/lib/znc/.znc/configs/znc.conf.j2
blob: 10f4df5ac4a08681031c6b2b033c85f33f1fbe7d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
AnonIPLimit = 10
AuthOnlyViaModule = true
ConfigWriteDelay = 0
ConnectDelay = 5
HideVersion = false
LoadModule = cyrusauth saslauthd
LoadModule = webadmin
MaxBufferSize = 500
ProtectWebSessions = true
SSLCertFile = {{ znc_certificate_path }}
SSLDHParamFile = {{ znc_dhparams_path }}
SSLKeyFile = {{ znc_certificate_key_path }}
ServerThrottle = 30
Version = 1.8.2

<Listener web>
  AllowIRC = false
  AllowWeb = true
  IPv4 = true
  IPv6 = true
  Port = {{ znc_https_port }}
  SSL = true
</Listener>

<Listener irc>
  AllowIRC = true
  AllowWeb = false
  IPv4 = true
  IPv6 = true
  Port = {{ znc_irc_port }}
  SSL = true
</Listener>

<User admin>
  Admin = true
  Nick = znc_admin
  AltNick = znc_admin_
  Ident = znc_admin
  RealName = ZNC Administrator

  <Pass password>
    Hash = ::
    Method = MD5
    Salt = ::
  </Pass>
</User>

<User {{ znc_clone_user }}>
  Admin = false
  Nick = znc_user
  AltNick = znc_user_
  Ident = znc_user
  RealName = ZNC User
  MaxNetworks = {{ znc_max_networks }}
  LoadModule = chansaver

  <Pass password>
    Hash = ::
    Method = MD5
    Salt = ::
  </Pass>
</User>