app.example.ini 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  1. [app]
  2. PageSize = 20
  3. JwtSecret =
  4. [server]
  5. Host = 0.0.0.0
  6. Port = 9000
  7. RunMode = debug
  8. [database]
  9. Name = database
  10. [auth]
  11. IPWhiteList =
  12. BanThresholdMinutes = 10
  13. MaxAttempts = 10
  14. [casdoor]
  15. Endpoint =
  16. ClientId =
  17. ClientSecret =
  18. CertificatePath =
  19. Organization =
  20. Application =
  21. RedirectUri =
  22. [cert]
  23. Email =
  24. CADir =
  25. RenewalInterval = 7
  26. RecursiveNameservers =
  27. HTTPChallengePort = 9180
  28. [cluster]
  29. Node = http://10.0.0.1:9000?name=node1&node_secret=my-node-secret&enabled=true
  30. Node = http://10.0.0.2:9000?name=node2&node_secret=my-node-secret&enabled=true
  31. Node = http://10.0.0.3?name=node3&node_secret=my-node-secret&enabled=true
  32. [crypto]
  33. Secret =
  34. [http]
  35. GithubProxy = https://mirror.ghproxy.com/
  36. InsecureSkipVerify = false
  37. [logrotate]
  38. Enabled = false
  39. CMD = logrotate /etc/logrotate.d/nginx
  40. Interval = 1440
  41. [nginx]
  42. AccessLogPath = /var/log/nginx/access.log
  43. ErrorLogPath = /var/log/nginx/error.log
  44. LogDirWhiteList = /var/log/nginx
  45. ConfigDir =
  46. PIDPath =
  47. TestConfigCmd =
  48. ReloadCmd = nginx -s reload
  49. RestartCmd = start-stop-daemon --start --quiet --pidfile /var/run/nginx.pid --exec /usr/sbin/nginx
  50. [node]
  51. Name = Local
  52. Secret =
  53. SkipInstallation = false
  54. Demo = false
  55. [openai]
  56. BaseUrl =
  57. Token =
  58. Proxy =
  59. Model = gpt-4o
  60. APIType =
  61. EnableCodeCompletion = false
  62. CodeCompletionModel = gpt-4o-mini
  63. [terminal]
  64. StartCmd = bash
  65. [webauthn]
  66. RPDisplayName = Nginx UI
  67. RPID = localhost
  68. RPOrigins = http://localhost:3002,http://127.0.0.1:3002,http://192.168.31.158:3002,http://example.com