app.example.ini 1.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  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. [nginx_log]
  54. AdvancedIndexingEnabled = false
  55. IndexPath =
  56. [node]
  57. Name = Local
  58. Secret =
  59. SkipInstallation = false
  60. Demo = false
  61. [openai]
  62. BaseUrl =
  63. Token =
  64. Proxy =
  65. Model = gpt-4o
  66. APIType =
  67. EnableCodeCompletion = false
  68. CodeCompletionModel = gpt-4o-mini
  69. [terminal]
  70. StartCmd = bash
  71. [webauthn]
  72. RPDisplayName = Nginx UI
  73. RPID = localhost
  74. RPOrigins = http://localhost:3002,http://127.0.0.1:3002,http://192.168.31.158:3002,http://example.com