url rewriting - How to do URL Rewrite in Zuul Proxy? -


one of request comes zuul filter of uri /hello/world want redirect /myapp/test. /myapp/test service registered in eureka.

zuul:   routes:      xyz:          path: /hello/world          url: http://localhost:1234/myapp/test          stripprefix: true 

when try above configuration, incoming uri suffixed configured url http://localhost:1234/myapp/test/world . few of links came across seem stating url rewrite feature not yet available in zuul.

is there other way can done @ zuul layer ?

note: @ point of time, cannot reverse proxying in webserver or other layer since, zuul filter 1 receiving request directly.

have tried creating prefilter or routefilter ?

that way can intercept request, , change routing.

see zuul filters


Comments

Popular posts from this blog

python - pip install -U PySide error -

arrays - C++ error: a brace-enclosed initializer is not allowed here before ‘{’ token -

cytoscape.js - How to add nodes to Dagre layout with Cytoscape -