{
  "ConnectionStrings": {
    "Default": "Server=.\\SQLEXPRESS;Database=SolutionErp;User Id=vrapp;Password=__SET_VIA_SECRETS__;MultipleActiveResultSets=true;TrustServerCertificate=true;Encrypt=true"
  },
  "Jwt": {
    "Issuer": "SolutionErp.Api",
    "Audience": "SolutionErp.Client",
    "Secret": "__SET_VIA_USER_SECRETS_OR_ENV__minimum_64_chars_random",
    "AccessTokenExpiryMinutes": 60,
    "RefreshTokenExpiryDays": 7
  },
  "AllowedOrigins": [
    "https://admin.solutions.com.vn",
    "https://eoffice.solutions.com.vn"
  ],
  "Identity": {
    "Password": {
      "RequiredLength": 12
    },
    "Lockout": {
      "Minutes": 15,
      "MaxFailedAttempts": 5
    }
  },
  "Serilog": {
    "MinimumLevel": {
      "Default": "Information",
      "Override": {
        "Microsoft": "Warning",
        "Microsoft.EntityFrameworkCore": "Warning",
        "Microsoft.AspNetCore.Hosting.Diagnostics": "Warning",
        "System": "Warning"
      }
    },
    "WriteTo": [
      { "Name": "Console" },
      {
        "Name": "File",
        "Args": {
          "path": "logs/solution-erp-.log",
          "rollingInterval": "Day",
          "retainedFileCountLimit": 30,
          "fileSizeLimitBytes": 104857600,
          "rollOnFileSizeLimit": true
        }
      }
    ]
  },
  "AllowedHosts": "*",
  "RateLimit": {
    "AuthLoginPerMinute": 5,
    "GlobalPerMinute": 300
  },
  "Uploads": {
    "RootPath": "C:\\inetpub\\solution-erp\\uploads"
  }
}
