gateway.properties 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156
  1. #spring.cloud.consul.discovery.scheme=https
  2. spring.cloud.consul.discovery.registerHealthCheck=true
  3. ##是否开启文件上传支持,默认为true
  4. spring.http.multipart.enabled=true
  5. #server.ssl.enabled=true
  6. #server.ssl.key-alias=smartms
  7. #server.ssl.key-store=classpath:fcae.jks
  8. #server.ssl.key-store-password=secret
  9. #server.ssl.key-password=password
  10. zuul.stripPrefix=false
  11. zuul.retryable=true
  12. zuul.addHostHeader=false
  13. zuul.sensitiveHeaders=false
  14. zuul.ignoredServices=configserver,eureka,gateway
  15. zuul.maxAutoRetries=1
  16. zuul.maxAutoRetriesNextServer=1
  17. ribbon.IsSecure=false
  18. #ribbon.readTimeout=20000
  19. #ribbon.connectTimeout=60000
  20. #ribbon.readTimeout=60000
  21. ribbon.connectTimeout=240000
  22. ribbon.readTimeout=240000
  23. #断路器的超时时间,断路器的超时时间需要大于ribbon的超时时间,不然不会触发重试。
  24. hystrix.command.default.execution.isolation.thread.timeoutInMilliseconds=300000
  25. hystrix.command.default.execution.isolation.strategy=THREAD
  26. #ribbon请求连接的超时时间
  27. ribbon.ConnectTimeout=240000
  28. #请求处理的超时时间
  29. ribbon.ReadTimeout=240000
  30. #对所有操作请求都进行重试
  31. ribbon.OkToRetryOnAllOperations=true
  32. #对当前实例的重试次数,Max number of retries on the same server (excluding the first try)
  33. ribbon.MaxAutoRetries=1
  34. #对下个实例的重试次数
  35. ribbon.MaxAutoRetriesNextServer=1
  36. fae.ms.includes=\
  37. simple,\
  38. smartmsDemo,\
  39. devops,\
  40. i18n,\
  41. job,\
  42. workflow,\
  43. lookup,\
  44. menu,\
  45. registry,\
  46. security,\
  47. attachment,\
  48. zipkin,\
  49. swagger,\
  50. ms,\
  51. hystrix,\
  52. hystrix.stream,\
  53. exweb,\
  54. automation,\
  55. system,\
  56. systemtest1,\
  57. systemtest2,\
  58. mine,\
  59. im,\
  60. outside,\
  61. activity,\
  62. activitytest1,\
  63. activitytest2,\
  64. auth,\
  65. authtest1,\
  66. authtest2,\
  67. app,\
  68. apptest,\
  69. apptest1,\
  70. apptest2,\
  71. web,\
  72. webtest,\
  73. webtest1,\
  74. webtest2,\
  75. webwch,\
  76. company,\
  77. companytest1,\
  78. companytest2,\
  79. config,\
  80. configtest1,\
  81. configtest2,\
  82. message,\
  83. news,\
  84. newstest1,\
  85. newstest2,\
  86. point,\
  87. pointtest,\
  88. task,\
  89. tasktest,\
  90. union,\
  91. uniontest,\
  92. bbs,\
  93. bbstest,\
  94. party,\
  95. test,\
  96. youquweb,\
  97. mall,\
  98. interface,\
  99. lisence,\
  100. page,\
  101. workflow,\
  102. website,\
  103. website1,\
  104. website2
  105. zuul.max.host.connections=500
  106. zuul.host.socket-timeout-millis=240000
  107. zuul.host.connect-timeout-millis=240000
  108. zuul.routes.api.path=/swagger/**
  109. zuul.routes.api.serviceId=swagger
  110. zuul.routes.page.path=/page/**
  111. zuul.routes.page.serviceId=page
  112. #zuul.routes.web.path=/web/**
  113. #zuul.routes.web.serviceId=web
  114. #zuul.routes.web1.path=/**.html
  115. #zuul.routes.web1.serviceId=web
  116. #zuul.routes.web2.path=/
  117. #zuul.routes.web2.serviceId=web
  118. zuul.routes.expertweb.path=/web/expertweb/**
  119. zuul.routes.expertweb.serviceId=expertweb
  120. zuul.routes.youquweb.path=/youquweb/**
  121. zuul.routes.youquweb.serviceId=youquweb
  122. #zuul.routes.static.path=/**
  123. #zuul.routes.static.url=http://10.128.151.5:443/services/page/static/
  124. #zuul.routes.exweb.path=/youquweb/**
  125. #zuul.routes.exweb.serviceId=http://10.110.200.62:8080/
  126. zuul.routes.zipkin.path=/zipkin/**
  127. zuul.routes.zipkin.serviceId=zipkin
  128. zuul.routes.zipkinStatic.path=/zipkinStatic/**
  129. zuul.routes.zipkinStatic.serviceId=zipkin
  130. ##需要鉴权的地址
  131. #fae.filter=/,/index.html