暂无描述
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

usr_lib_znc_configs_znc.conf.j2 1.7KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  1. // WARNING
  2. //
  3. // Do NOT edit this file while ZNC is running!
  4. // Use webadmin or *controlpanel instead.
  5. //
  6. // Buf if you feel risky, you might want to read help on /znc saveconfig and /znc rehash.
  7. // Also check http://en.znc.in/wiki/Configuration
  8. AnonIPLimit = 10
  9. ConnectDelay = 5
  10. LoadModule = webadmin
  11. LoadModule = fail2ban
  12. LoadModule = lastseen
  13. LoadModule = partyline
  14. MaxBufferSize = 500
  15. Motd = Connected to ZNC
  16. PidFile = /var/run/znc/znc.pid
  17. ProtectWebSessions = true
  18. SSLCertFile = /usr/lib/znc/znc.pem
  19. ServerThrottle = 30
  20. Skin = _default_
  21. StatusPrefix = *
  22. Version = 1.0
  23. <Listener listener0>
  24. AllowIRC = true
  25. AllowWeb = false
  26. IPv4 = true
  27. IPv6 = true
  28. Port = 6697
  29. SSL = true
  30. </Listener>
  31. <Listener listener1>
  32. AllowIRC = false
  33. AllowWeb = true
  34. IPv4 = true
  35. IPv6 = true
  36. Port = 6643
  37. SSL = false
  38. </Listener>
  39. <User {{ irc_nick }}>
  40. Admin = true
  41. Allow = *
  42. AltNick = {{ irc_nick }}_
  43. AppendTimestamp = false
  44. AutoClearChanBuffer = true
  45. Buffer = 5000
  46. ChanModes = +stn
  47. DenyLoadMod = false
  48. DenySetBindHost = false
  49. Ident = {{ irc_ident }}
  50. JoinTries = 10
  51. LoadModule = controlpanel
  52. LoadModule = perform
  53. LoadModule = block_motd
  54. LoadModule = clientnotify
  55. MaxNetworks = 1
  56. MultiClients = true
  57. Nick = {{ irc_nick }}
  58. PrependTimestamp = true
  59. QuitMsg = {{ irc_quitmsg }}
  60. RealName = {{ irc_realname }}
  61. TimestampFormat = [%H:%M:%S]
  62. Timezone = {{ irc_timezone }}
  63. <Pass password>
  64. Method = sha256
  65. Hash = {{ irc_password | znc_pw_hash }}
  66. Salt = {{ irc_password | znc_pw_salt }}
  67. </Pass>
  68. <Network freenode>
  69. BindHost = 0.0.0.0
  70. FloodBurst = 4
  71. FloodRate = 1.00
  72. IRCConnectEnabled = true
  73. LoadModule = kickrejoin
  74. LoadModule = nickserv
  75. LoadModule = savebuff
  76. Server = chat.freenode.net +6697
  77. </Network>
  78. </User>