SHARE
TWEET

config.conf

Misteralex007 Jul 7th, 2017 63 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. # 1 = Debug; 2 = Info; 3 = Warn;
  2. logLevel = 2
  3.  
  4. # Enable the built in identd server (listens on port 113)
  5. identd = false
  6.  
  7. [clients]
  8. # Default username / realname for IRC connections. If disabled it will use
  9. # the values provided from the IRC client itself.
  10. # %h will be replaced with the users hostname
  11. # %i will be replaced with a hexed value of the users IP
  12. username = "%i"
  13. realname = "I am a webchat user"
  14.  
  15. # The websockt / http server
  16. [server.1]
  17. bind = "0.0.0.0"
  18. port = 7778
  19.  
  20. # Example TLS server
  21. #[server.2]
  22. #bind = "0.0.0.0"
  23. #port = 443
  24. #tls = true
  25. #cert = server.crt
  26. #key = server.key
  27. # If you don't have a certificate, uncomment the below line to automatically generate a
  28. # free certificate using letsencrypt.com (overrides the above cert/key options)
  29. #letsencrypt_cache = letsencrypt.cache
  30.  
  31. # Serve static files from a web root folder.
  32. # Optional, but handy for serving the Kiwi IRC client if no other webserver is available
  33. [fileserving]
  34. enabled = true
  35. webroot = /usr/share/kiwiirc/
  36.  
  37. [engines]
  38. websocket
  39. sockjs
  40. kiwiirc
  41.  
  42. # Websites (hostnames) that are allowed to connect here
  43. # No entries here will allow any website to connect.
  44. [allowed_origins]
  45. #*://example.com
  46.  
  47. # If using a reverse proxy, it must be whitelisted for the client
  48. # hostnames to be read correctly. In CIDR format.
  49. # The user IPs are read from the standard X-Forwarded-For HTTP header
  50. [reverse_proxies]
  51. 127.0.0.0/8
  52. 10.0.0.0/8
  53. 172.16.0.0/12
  54. 192.168.0.0/16
  55. "::1/128"
  56. "fd00::/8"
  57.  
  58. # Connections will be sent to a random upstream
  59. [upstream.1]
  60. hostname = "irc.alexserrano.fr"
  61. port = 6697
  62. tls = true
  63. # Connection timeout in seconds
  64. timeout = 5
  65. # Throttle the lines being written by X per second
  66. throttle = 2
  67. webirc = "PASSWORD"
  68.  
  69.  
  70. # A gateway to any IRC network
  71. # If enabled, Kiwi IRC clients may connect to any IRC network through the kiwiirc engine
  72. [gateway]
  73. enabled = false
  74. timeout = 5
  75. throttle = 2
  76.  
  77.  
  78. [gateway.webirc]
  79. irc.network.org = webirc_password
  80. irc.network2.org = webirc_password
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top