appsettings.json 1.2 KB

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