lexburner / zuul-gateway-demo Goto Github PK
View Code? Open in Web Editor NEWzuul动态路由demo
zuul动态路由demo
访问http://localhost:8080/books/available 报错
信息如下:
Whitelabel Error Page
This application has no explicit mapping for /error, so you are seeing this as a fallback.
Thu Feb 14 12:18:55 CST 2019
There was an unexpected error (type=Not Found, status=404).
No message available
Invalid upstream response (403)
这是我的配置,请求/api/**是可以轮询配置的listOfServers的后端地址的:
zuul.routes.api.path=/api/**
zuul.routes.api.stripPrefix=true
api.ribbon.listOfServers=http://192.168.1.75:8088,http://192.168.1.75:7070
想知道怎么把这个配置存到数据库中,让它从数据库中去取?类似动态路由那样
有2台zuul proxy如何保证路由信息同步
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.