I have a service running in spring-boot with embedded tomcat.
Two different url endpoints on the same port, like
@RequestMapping("/endpointExternal")
@RequestMapping("/endpointInternal")
Only the first should be reachable on the external interface, while the other should only be reachable from localhost.
Is that possible to configure somehow?