appsettings.json 1.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. {
  2. "Logging": {
  3. "LogLevel": {
  4. "Default": "Warning"
  5. }
  6. },
  7. "AllowedHosts": "*",
  8. //用户配置信息
  9. "AppSettings": {
  10. //Redis缓存
  11. "RedisCaching": {
  12. "KeyPrefix": "habook:cms",
  13. "Enabled": true,
  14. "DataBase": 1,
  15. "ConnectionString": "teammodel.redis.cache.chinacloudapi.cn:6380,password=9wcTVDiAWiAf0IF5NOjZBvYrZe9JlbEw1E3F1QFcNbo=,ssl=True,abortConnect=False"
  16. },
  17. //数据库配置
  18. "Azure": {
  19. "TableStorageConnection": "DefaultEndpointsProtocol=https;AccountName=teammodelstorage;AccountKey=Yq7D4dE6cFuer2d2UZIccTA/i0c3sJ/6ITc8tNOyW+K5f+/lWw9GCos3Mxhj47PyWQgDL8YbVD63B9XcGtrMxQ==;EndpointSuffix=core.chinacloudapi.cn",
  20. "CosmosDBConnection": {
  21. "AccountEndpoint": "https://teammodelostest.documents.azure.cn:443/",
  22. "AccountKey": "ReGoiHuTbU4Q31YYq4NaiormE6Ci71piT7OrvTzAuhrlgt63ajdtDZmwOZKzcz6gnwR326mJp53InY7rohepQQ=="
  23. }
  24. },
  25. "Date": "2018-08-28",
  26. "Author": "Blog.Core"
  27. },
  28. "JwtAuth": {
  29. "SecurityKey": "b0a364cd88a7612870bb1d5f51712d43",
  30. "Issuer": "HaBook.Cms.Admin",
  31. "Audience": "wr",
  32. "WebExp": 12,
  33. "AppExp": 1440,
  34. "MiniProgramExp": 1440,
  35. "OtherExp": 6
  36. },
  37. "Cache": {
  38. "IsUseRedis": true
  39. }
  40. }