app.conf 968 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. appname = server
  2. httpport = 8080
  3. runmode = dev
  4. copyrequestbody = true
  5. baseApi = /nginx-ui/api
  6. contextpath = /nginx-ui
  7. datadir = ./data
  8. dbdir = ./data/db
  9. nginxPath = /usr/sbin/nginx
  10. nginxDir = /etc/nginx
  11. # 支持sqlite,MySQL
  12. db_type = sqlite
  13. db_host = 10.10.0.x
  14. db_port = 3306
  15. db_user = nginx
  16. db_password = nginx
  17. db_name = nginx_ui
  18. admin_password = qwer@1234
  19. reset_admin_password = true
  20. sessionon = true
  21. sessionprovider = file
  22. sessionname = nginx_session
  23. sessiongcmaxlifetime = 7200
  24. sessionproviderconfig = "./data/sessions"
  25. thirdsessionenable = false
  26. thirdsessionname =
  27. thirdsessioncheckurl =
  28. oauth2_client_id = XVlBzgbaiCMRAjWw111
  29. oauth2_client_secret = XVlBzgbaiCMRAjWw123
  30. oauth2_authorize_endpoint = https://api.tonyandmoney.cn/oauth/authorize
  31. oauth2_token_endpoint = https://api.tonyandmoney.cn/oauth/token
  32. oauth2_redirect_uri = http://127.0.0.1:5173/
  33. oauth2_scopes = "userinfo"
  34. oauth2_userinfo = https://api.tonyandmoney.cn/oauth/user
  35. oauth2_enable = true