appsettings.json 1.5 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. {
  2. "AuthServer": {
  3. "Authority": "http://localhost:53362",
  4. "ApiName": "InternalGateway"
  5. },
  6. "ConnectionStrings": {
  7. "Default": "Server=123.60.180.165;Database=dopbiz;Uid=root; Pwd=5heng=uN;Allow User Variables=True;sslMode=None;"
  8. },
  9. "ElasticSearch": {
  10. "Url": "http://localhost:9200"
  11. },
  12. "Redis": {
  13. "Configuration": "127.0.0.1"
  14. },
  15. "GlobalConfiguration": {
  16. "BaseUrl": "http://localhost:59682"
  17. },
  18. "Logging": {
  19. "LogLevel": {
  20. "Default": "Warning"
  21. }
  22. },
  23. "AllowedHosts": "*",
  24. "Routes": [
  25. {
  26. "DownstreamPathTemplate": "/api/identity/{everything}",
  27. "DownstreamScheme": "http",
  28. "DownstreamHostAndPorts": [
  29. {
  30. "Host": "localhost",
  31. "Port": 55389
  32. }
  33. ],
  34. "UpstreamPathTemplate": "/api/identity/{everything}",
  35. "UpstreamHttpMethod": [ "Put", "Delete", "Get", "Post" ]
  36. },
  37. {
  38. "DownstreamPathTemplate": "/api/account/{everything}",
  39. "DownstreamScheme": "http",
  40. "DownstreamHostAndPorts": [
  41. {
  42. "Host": "localhost",
  43. "Port": 55389
  44. }
  45. ],
  46. "UpstreamPathTemplate": "/api/account/{everything}",
  47. "UpstreamHttpMethod": [ "Put", "Delete", "Get", "Post" ]
  48. },
  49. {
  50. "DownstreamPathTemplate": "/api/base/{everything}",
  51. "DownstreamScheme": "http",
  52. "DownstreamHostAndPorts": [
  53. {
  54. "Host": "localhost",
  55. "Port": 55389
  56. }
  57. ],
  58. "UpstreamPathTemplate": "/api/base/{everything}",
  59. "UpstreamHttpMethod": [ "Put", "Delete", "Get", "Post" ]
  60. }
  61. ]
  62. }