diff --git a/techhero-framework-gateway-local.yml b/techhero-framework-gateway-local.yml deleted file mode 100644 index 0934cda..0000000 --- a/techhero-framework-gateway-local.yml +++ /dev/null @@ -1,65 +0,0 @@ -zuul: - ribbon: - eager-load: - enabled: true - clients: techhero-framework-config, techhero-framework-eureka, techhero-framework-auth, techhero-platform-permission - ignoredServices: '*' - #routes: - #resource: - # path: /ws/** - # serviceId: techhero-component-websocket - host: - connect-timeout-millis: 2000000 - socket-timeout-millis: 2000000 - -hystrix: - command: - default: - execution: - isolation: - thread: - timeoutInMilliseconds: 60000 #设置API网关中路由转发请求的HystrixCommand执行超时时间 - -ribbon: - ConnectTimeout: 3000 #设置路由转发请求的时候,创建请求连接的超时时间 - ReadTimeout: 60000 #用来设置路由转发请求的超时时间 - -security: - encode: - key: '1234567887654321' #必须16位 - validate: - code: true - preview: false - sessions: stateless - oauth2: - client: - #client-id: techhero - #client-secret: techhero - client-id: web_client - client-secret: techhero - resource: - jwt: - key-uri: http://127.0.0.1:15803/oauth/token_key #解析jwt令牌所需要密钥的地址 - authorization: - check-token-access: http://techhero-framework-oauth/oauth/check_token -gateway: - allowed: - origins: - - '*' - - http://127.0.0.1:8084 - - http://127.0.0.1:15801 - - https://account.aliyun.com - - https://datav.aliyun.com - - http://datav.aliyun.com - - http://cdn-service-datav.aliyun.com -ignore: - urls: - - /swagger/api-docs - - /swagger-resources/** - - /swagger-ui.html - - /*/v2/api-docs - - /webjars/** - - /auth/** - - /oss/** - - /system/db/getUserListPage/** -