web-interface-example.toml 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. # This is a TOML document. Boom.
  2. version = "1.0.0"
  3. user = "nobody"
  4. pid = "/tmp/web-interface.pid"
  5. dir = "./"
  6. perf = "127.0.0.1:6260"
  7. checkFile = "/data/www/web-interface.html"
  8. family = "web-interface"
  9. address = "172.16.33.56"
  10. env = "test"
  11. tick = "5m"
  12. accountURI = "http://account.bilibili.com"
  13. [matsuri]
  14. pastID = 5461206
  15. matID = 5461533
  16. matTime = "2016-12-15T16:57:03+08:00"
  17. tick = "10s"
  18. [identify]
  19. whiteAccessKey = ""
  20. whiteMid = 0
  21. [identify.app]
  22. key = "c05dd4e1638a8af0"
  23. secret = "d3c5a85f5b895a03735b5d20a273bc57"
  24. [identify.memcache]
  25. name = "go-business/identify"
  26. proto = "tcp"
  27. addr = "172.16.33.54:11211"
  28. active = 5
  29. idle = 10
  30. dialTimeout = "1s"
  31. readTimeout = "1s"
  32. writeTimeout = "1s"
  33. idleTimeout = "80s"
  34. [identify.host]
  35. auth = "http://passport.bilibili.com"
  36. secret = "http://open.bilibili.com"
  37. [identify.authHTTPClient]
  38. dial = "1s"
  39. timeout = "1s"
  40. keepAlive = "60s"
  41. timer = 1000
  42. [identify.secretHTTPClient]
  43. dial = "1s"
  44. timeout = "1s"
  45. keepAlive = "60s"
  46. timer = 1000
  47. [web-interface]
  48. IPFile = "/data/conf/iprepo/iprepo.txt"
  49. [host]
  50. apiCo = "http://api.bilibili.co"
  51. [log]
  52. dir = "/data/log/web-interface/"
  53. [app]
  54. key = "7c7ac0db1aa05587"
  55. secret = "9a6d62d93290c5f771ad381e9ca23f26"
  56. [infoc2]
  57. taskID = "000078"
  58. proto = "tcp"
  59. addr = "172.19.100.20:5401"
  60. chanSize = 1024
  61. [httpClient]
  62. [httpClient.read]
  63. dial = "1s"
  64. timeout = "1s"
  65. keepAlive = "60s"
  66. timer = 1000
  67. [httpClient.write]
  68. dial = "1s"
  69. timeout = "3s"
  70. keepAlive = "60s"
  71. timer = 1000
  72. [multiHttp]
  73. [multiHttp.inner]
  74. addrs = ["0.0.0.0:6281"]
  75. maxListen = 1000
  76. [multiHttp.local]
  77. addrs = ["0.0.0.0:6282"]
  78. maxListen = 1000
  79. [bm]
  80. [bm.outer]
  81. addr = "0.0.0.0:6351"
  82. timeout = "1s"
  83. [bm.local]
  84. addr = "0.0.0.0:6352"
  85. timeout = "1s"
  86. [web]
  87. pullRegionInterval = "1m"