charon-spring-boot-starter
charon-spring-boot-starter copied to clipboard
Regex Request Path Rewriter
Hi. Just need some clarification. Having a hard time understanding the path - template relationship.
Let's say all requests to /kibana go to http://10.6.12.20:5601
When that site loads it pulls in some javascript files etc to load the Kibana site. How can I make all subsequent requests on /kibana to go straight to http://10.6.12.20:5601 . E.g. /kibana/plugins & /kibana/ui/favicons go to http://10.6.12.20:5601/plugins & http://10.6.12.20:5601/ui/favicons
I tried something like:
.add(requestMapping("kibana")
.pathRegex("/kibana.")
.set(regexRequestPathRewriter().paths("/(?
But I'm getting a double path /kibana//kibana
paths("/kibana(?<segment>.*)", "<segment>")
The above should do the job