appsettings.json 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647
  1. {
  2. "Logging": {
  3. "LogLevel": {
  4. "Default": "Information",
  5. "Microsoft.AspNetCore": "Warning"
  6. }
  7. },
  8. "AllowedHosts": "*",
  9. "Kestrel": {
  10. "Limits": {
  11. "MaxRequestBodySize": 1073741824,
  12. "MaxRequestBufferSize": 1073741824,
  13. "MaxConcurrentConnections": 1000,
  14. "MaxConcurrentUpgradedConnections": 100,
  15. "MaxStreamsPerConnection": 100
  16. },
  17. "Endpoints": {
  18. "HttpsDefaultCert": {
  19. "Url": "https://*:40101"
  20. }
  21. },
  22. "Certificates": {
  23. "Default": {
  24. "AllowInvalid": true,
  25. "Path": "www.guanglinta.com.pfx",
  26. "Password": "1rgum4me"
  27. }
  28. }
  29. },
  30. "EncryptorKey": "Long",
  31. "DbSetting": [
  32. {
  33. "default": "server=www.guanglinta.com;database=kankanlightnovel;uid=root;pwd=long@2023",
  34. "user": "server=www.guanglinta.com;database=user;uid=root;pwd=long@2023"
  35. }
  36. ],
  37. "Cors": {
  38. "Origins": [
  39. "https://www.guanglinta.com",
  40. "https://localhost:40203"
  41. ]
  42. },
  43. "JWT": {
  44. "IssuerUri": "https://www.guanglinta.com:40100",
  45. "Authority": "https://www.guanglinta.com:40100"
  46. }
  47. }