Comments (2)
I can think of two ways:
- You can start up with a property file and set the
proxy.routes
value with a static route. That will disable the dynamic routing update from consul and use only those routes - You can set the routes in consul as manual override and remove them afterwards.
I was actually planning to remove the proxy.routes
feature since I don't see a use-case for it since the whole point of fabio is to not have such an option.
The more important question for me is why you would want to do this in the first place? If you have microservices and they register in consul during startup or test then fabio will pick their routes up. Maybe you just need to mask your tests with a consul registration/deregistration wrapper to achieve this since this is how your services would act when run in production.
from fabio.
I'm going to close this question for lack of feedback for now. Please re-open if you need more information or create a ticket with a specific feature request for a concrete use case.
Thx
from fabio.
Related Issues (20)
- windows: setting logging path in fabio properties HOT 3
- Datadog fabiolb_http.status - aggregation by PATH
- Fabio is using Datadog reserved tag keys HOT 1
- Handle Custom Domain with SSL on Fabio HOT 5
- trace: protect field access with lock to avoid possible data race
- Please bump golang.org/x/sys dependency to enable a build on riscv64-freebsd
- Multiple entries in proxy.auth do not work as specified in documentation
- Potential goroutine leak in server.go
- Can Fabio exclude sidecar-proxy service on port 20000 when consul runs on kuberneites HOT 1
- Feature request: allow specifying route add https://site same as route add site:443
- Feature request: allow specifying default options
- connection reset by peer
- TCP no route - cant balance tcp HOT 3
- USE OF CLOSE NETWORK CONNECTION
- CVE-2023-44487 HTTP/2 rapid reset HOT 1
- Unable to load correct certificates if 1 invalid one is in consul k/v
- This repository is unmaintaned. HOT 2
- certificates - cert and ca chain/intermediate HOT 3
- Fabio not exporting all the metrics with prometheus HOT 6
- Problem with path strip and prepend HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from fabio.