Redirect tomcat to maintenance page when my tomcat is down

I just joined the new company, and I was told that the sites they have used tomcat. And they want to show a custom web page when tomcat is not working. currently it will show error 500. I am the only person in the IT team at the moment and I am pretty new to tomcat and don't know tomcat knowledge. Can someone explain how to set up a custom webpage when tomcat is not working? I use only tomcat, not apache or load balancer infront from tomcat. Thanks in advance.

+4
source share
1 answer

You must use apache 2 or load balncer before tomat. And set up the maintenance page in apache or load balancer.

If you have any problems, just post it

+2
source

Source: https://habr.com/ru/post/1487856/


All Articles