How to redirect root path to subpath?
In the newer version Wildfly, we can used rewrite in undertow:
<filter-ref name="root-redirect" predicate='regex(pattern="^/$", value="%U", full-match=true)' />
<rewrite name="root-redirect" redirect="true" target="/xxx" />