appsettings.Development.json 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546
  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://localhost:40100",
  36. "https://localhost:40101",
  37. "https://localhost:40102",
  38. "https://localhost:40203"
  39. ]
  40. },
  41. "JWT": {
  42. "IssuerUri": "https://localhost:40100",
  43. "RedirectUris": "https://localhost:40203/signin",
  44. "PostLogoutRedirectUris": "https://localhost:40203/signout"
  45. }
  46. }