Config backend with beg path

Hello guys!
I’m trying to config my haproxy like this
my frontend is example.com:443
and my backend is 10.0.0.1:8080/cas (tomcat app)
if i tape example.com i have tomcat default web page and i want to have my app web page directly