app.example.ini 1.7 KB

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