appsettings.json 872 字节
Newer Older
lwplvx's avatar
lwplvx 已提交
1 2 3 4 5 6 7 8
{
  "Logging": {
    "LogLevel": {
      "Default": "Information",
      "Microsoft": "Warning",
      "Microsoft.Hosting.Lifetime": "Information"
    }
  },
lwplvx's avatar
lwplvx 已提交
9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31
  "HttpReportsDashboard": {
    "ExpireDay": 3,
    "Storage": {
      //"ConnectionString": "DataBase=HttpReports;Data Source=localhost;User Id=root;Password=123456;",
      "ConnectionString": "Server=xx.xx.xx.xx; Port=3306;User Id=httpreportsuser;Password=httpreports123456;Database=HttpReports;Allow User Variables=True",
      "DeferSecond": 10,
      "DeferThreshold": 100
    },
    "Check": {
      "Mode": "Self",
      "Switch": true,
      "Endpoint": "",
      "Range": "500,2000"
    },
    "Mail": {
      "Server": "smtp.163.com",
      "Port": 465,
      "Account": "HttpReports@qq.com",
      "Password": "*******",
      "EnableSsL": true,
      "Switch": true
    }
  },
lwplvx's avatar
lwplvx 已提交
32 33
  "AllowedHosts": "*"
}