app.example.ini 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. ; suppress inspection "DuplicateKeyInSection" for whole file
  2. [server]
  3. HttpPort = 9000
  4. RunMode = debug
  5. JwtSecret =
  6. Email =
  7. HTTPChallengePort = 9180
  8. StartCmd = bash
  9. Database = database
  10. CADir =
  11. GithubProxy =
  12. NodeSecret =
  13. Demo = false
  14. PageSize = 10
  15. HttpHost = 0.0.0.0
  16. CertRenewalInterval = 7
  17. RecursiveNameservers =
  18. SkipInstallation = false
  19. Name =
  20. [nginx]
  21. AccessLogPath = /var/log/nginx/access.log
  22. ErrorLogPath = /var/log/nginx/error.log
  23. ConfigDir =
  24. PIDPath =
  25. TestConfigCmd =
  26. ReloadCmd =
  27. RestartCmd =
  28. [openai]
  29. Model =
  30. BaseUrl =
  31. Proxy =
  32. Token =
  33. [casdoor]
  34. Endpoint =
  35. ClientId =
  36. ClientSecret =
  37. Certificate =
  38. Organization =
  39. Application =
  40. RedirectUri =
  41. [logrotate]
  42. Enabled = false
  43. CMD = logrotate /etc/logrotate.d/nginx
  44. Interval = 1440
  45. [cluster]
  46. Node = http://10.0.0.1:9000?name=node1&node_secret=my-node-secret&enabled=true
  47. Node = http://10.0.0.2:9000?name=node2&node_secret=my-node-secret&enabled=true
  48. Node = http://10.0.0.3?name=node3&node_secret=my-node-secret&enabled=true
  49. [auth]
  50. IPWhiteList =
  51. BanThresholdMinutes = 10
  52. MaxAttempts = 10
  53. [crypto]
  54. Secret = secret2