appsettings.Production.json 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. {
  2. "Kestrel": {
  3. "Endpoints": {
  4. "Http": {
  5. "Url": "http://localhost:4000"
  6. }
  7. }
  8. },
  9. "App": {
  10. "Name": "DPOT API",
  11. "Company": "PLAYR",
  12. "BaseURL": "https://admin.dpot.web.or.kr",
  13. "ApiURL": "https://api.dpot.web.or.kr",
  14. "FrontURL": "https://dpot.web.or.kr"
  15. },
  16. "ConnectionStrings": {
  17. "DefaultConnection": "Server=192.168.0.100;Database=dpot;User Id=sa;Password=@@20120726KKh;MultipleActiveResultSets=true;TrustServerCertificate=True"
  18. },
  19. "Redis": {
  20. "DefaultConnection": "192.168.0.100:6379,password=bluescreen!!,defaultDatabase=5",
  21. "CachePrefix": "Admin:Cache",
  22. "DataProtectionKey": "Admin:DataProtection-Keys",
  23. "DefaultKeyLifetime": "90.00:00:00"
  24. },
  25. "JWT": {
  26. "SecretKey": "dpot-dev-secret-key-2026-minimum-32-chars!",
  27. "Issuer": "dpot-api",
  28. "Audience": "dpot-front",
  29. "AccessTokenExpiration": 30,
  30. "RefreshTokenExpiration": 7
  31. },
  32. "CorsPolicy": {
  33. "Name": "AllowFront",
  34. "PreflightMaxAgeSeconds": 3600,
  35. "AllowedOrigins": [
  36. "http://dpot.web.or.kr",
  37. "https://dpot.web.or.kr"
  38. ]
  39. },
  40. "Logging": {
  41. "LogLevel": {
  42. "Default": "Information",
  43. "Microsoft.AspNetCore": "Warning"
  44. }
  45. },
  46. "AllowedHosts": "*"
  47. }