We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
尝试下下面这个yml 去转 properties 丢失了数据
zuul: host: connect-timeout-millis: 60000 #HTTP连接超时要比Hystrix的大 socket-timeout-millis: 60000 #socket超时 routes: #路由id ihrm-company: path: /company/** #需要映射的路径地址 #url: http://127.0.0.1:9001 #映射路径对应的实际微服务的url路径 serviceId: ihrm-company stripPrefix: false #不删除请求前缀 #处理敏感头信息 sentiviteHeaders: #将指定路由的敏感头设置为空 customSensitiveHeaders: true #对指定路由开启自定义敏感头 ihrm-system: #系统 path: /sys/** #配置请求URL的请求规则 serviceId: ihrm-system #指定Eureka注册中心中的服务id stripPrefix: false sentiviteHeaders: #将指定路由的敏感头设置为空 customSensitiveHeaders: true #对指定路由开启自定义敏感头
The text was updated successfully, but these errors were encountered:
P0
Sorry, something went wrong.
感谢您的反馈,产品部门正在加紧处理,优先级为P0,请留意 issues 进度。
No branches or pull requests
尝试下下面这个yml 去转 properties 丢失了数据
zuul:
host:
connect-timeout-millis: 60000 #HTTP连接超时要比Hystrix的大
socket-timeout-millis: 60000 #socket超时
routes:
#路由id
ihrm-company:
path: /company/** #需要映射的路径地址
#url: http://127.0.0.1:9001 #映射路径对应的实际微服务的url路径
serviceId: ihrm-company
stripPrefix: false #不删除请求前缀
#处理敏感头信息
sentiviteHeaders: #将指定路由的敏感头设置为空
customSensitiveHeaders: true #对指定路由开启自定义敏感头
ihrm-system: #系统
path: /sys/** #配置请求URL的请求规则
serviceId: ihrm-system #指定Eureka注册中心中的服务id
stripPrefix: false
sentiviteHeaders: #将指定路由的敏感头设置为空
customSensitiveHeaders: true #对指定路由开启自定义敏感头
The text was updated successfully, but these errors were encountered: