I'm using Spring Boot 2 with actuator and webflux. And for example I have health endpoint on path /actuator/health
. I need to make some alias only for health endpoint, so it should be on path /actuator/health
and also on /health
. How can I do that?
Asked
Active
Viewed 970 times
1

Brian Clozel
- 56,583
- 15
- 167
- 176

ibm701
- 305
- 2
- 11
1 Answers
1
You could try using a permanent redirect.
Define a route at /health
and redirect to /actuator/health
. Depending on the client it should work.
A sample redirect is described in post 50502377

Roald Bankras
- 564
- 4
- 14