Commit 7907fd1e by Administrator

Update techhero-framework-gateway-local.yml

parent f0f76c0c
...@@ -22,32 +22,12 @@ spring: ...@@ -22,32 +22,12 @@ spring:
publisher-confirms: true #确认消息已发送到交换机(Exchange) publisher-confirms: true #确认消息已发送到交换机(Exchange)
publisher-returns: true #确认消息已发送到队列(Queue) publisher-returns: true #确认消息已发送到队列(Queue)
zuul: zuul:
# ratelimit:
# behind-proxy: true
# default-policy:
# limit: 200
# type: origin
# refresh-interval: 10
# enabled: true
host: host:
connect-timeout-millis: 150000 connect-timeout-millis: 150000
socket-timeout-millis: 150000 socket-timeout-millis: 150000
max-total-connections: 500 max-total-connections: 500
ignoredServices: '*' ignoredServices: '*'
ribbon:
ReadTimeout: 10000
ConnectTimeout: 10000
eureka:
enabled: true
Httpclient:
enabled: false
OkHttp:
enabled: true
eager-load:
enabled: true
clients: techhero-framework-config,techhero-framework-eureka,techhero-framework-auth,techhero-platform-exam,techhero-platform-system,techhero-business-track,techhero-business-command,techhero-business-transdata
hystrix: hystrix:
command: command:
...@@ -83,6 +63,7 @@ security: ...@@ -83,6 +63,7 @@ security:
#key-value: techhero #key-value: techhero
authorization: authorization:
check-token-access: http://techhero-framework-oauth/oauth/check_token check-token-access: http://techhero-framework-oauth/oauth/check_token
gateway: gateway:
allowed: allowed:
origins: origins:
...@@ -93,6 +74,7 @@ gateway: ...@@ -93,6 +74,7 @@ gateway:
- https://datav.aliyun.com - https://datav.aliyun.com
- http://datav.aliyun.com - http://datav.aliyun.com
- http://cdn-service-datav.aliyun.com - http://cdn-service-datav.aliyun.com
ignore: ignore:
urls: urls:
- /*/open/** - /*/open/**
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment