appsettings.json 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. {
  2. "Logging": {
  3. "LogLevel": {
  4. "Default": "Information",
  5. "Microsoft.AspNetCore": "Warning",
  6. "Microsoft.EntityFrameworkCore.Database.Command": "None"
  7. }
  8. },
  9. "AllowedHosts": "*",
  10. // 환경변수 추가
  11. "AppConfig": {
  12. "AppName": "bitforum.io",
  13. "AppVersion": "1.0.0",
  14. "BaseURL": "https://bitforum.io"
  15. },
  16. "ConnectionStrings": {
  17. //"DefaultConnection": "Server=192.168.0.110;Database=bitforum;Trusted_Connection=True;MultipleActiveResultSets=true"
  18. "DefaultConnection": "Server=192.168.0.110;Database=bitforum;User ID=sa;Password=@@20120726KKh;Encrypt=False;"
  19. },
  20. // Redis 설정
  21. "Redis": {
  22. "Host": "192.168.0.110",
  23. "Port": 6379,
  24. "Password": "bluescreen!!"
  25. },
  26. // SMTP 설정
  27. "SMTP": {
  28. "Server": "smtp.gmail.com",
  29. "Port": 587,
  30. "EnableSSL": true,
  31. "Username": "chorongski@gmail.com",
  32. "Password": "lfxciuwuopjlfdzc",
  33. "FromEmail": "no-reply@bitforum.io",
  34. "FromName": "no-reply"
  35. },
  36. // Jwt 설정
  37. "JWT": {
  38. "SecretKey": "14259e886cd75c03819301d68da3d6e1a26a73b826989a9a0005136bef5a1157",
  39. "Issuer": "4834c1b0335c90974d2784c93ce160a5",
  40. "Audience": "2b20ce6778f2eeef3cd5277ca5f67374",
  41. "AccessTokenExpiration": 30, // 30분
  42. "RefreshTokenExpiration": 7 // 7일
  43. }
  44. }