let's say I have a application.yml with this content
server:
port: 8000
context-path: /rest
so, all controllers and html will be accessed like this http://server:8000/rest/controller
so, having this configuration...
it is possible to add some static html element to its root level without changing its context-path? (I added a index.html to static folder already).
in other words:
having that application.yml, I need to retrieve a empty html when accessing to our app root-level
but, currently, I can only access that html on this url
any ideas? thanks in advance :)
EDIT: i'm doing this because our load balancer, when accessing http://server:8000 will get a 404 from spring-boot, thus marking our server/app as non-accessible.
since from springboot, I have control over tomcat. is there any way I could add a basic html to its root level so our load balancer does not mark our application as unavailable? pd: I have no access to setup that load balancer :(