Hello,
We are using wildfly 24.0.1 and trying to configure multiple virtual hosts
We have 2 webapps ( webapp1.war and webapp2.war ) deployed.
For instance without virtual hosting we access the webapps with
After adding virtualhosts (bellow standalone configuration)
<host name="default-host" alias="localhost">
<filter-ref name="404-handler"/>
<filter-ref name="gzipFilter" predicate="exists('%{o,Content-Type}') and regex(pattern='(?:application/javascript|text/css|text/html|text/xml|application/json)(;.*)?', value=%{o,Content-Type}, full-match=true)"/>
<filter-ref name="Vary-header"/>
<filter-ref name="X-Robots-Tag"/>
<filter-ref name="xFrameOptions"/>
<filter-ref name="Content-Security-Policy"/>
<filter-ref name="transport-security"/>
<http-invoker security-realm="ApplicationRealm"/>
</host>
<filter-ref name="404-handler"/>
<filter-ref name="gzipFilter" predicate="exists('%{o,Content-Type}') and regex(pattern='(?:application/javascript|text/css|text/html|text/xml|application/json)(;.*)?', value=%{o,Content-Type}, full-match=true)"/>
<filter-ref name="Vary-header"/>
<filter-ref name="X-Robots-Tag"/>
<filter-ref name="xFrameOptions"/>
<filter-ref name="Content-Security-Policy"/>
<filter-ref name="transport-security"/>
<http-invoker security-realm="ApplicationRealm"/>
</host>
<filter-ref name="404-handler"/>
<filter-ref name="gzipFilter" predicate="exists('%{o,Content-Type}') and regex(pattern='(?:application/javascript|text/css|text/html|text/xml|application/json)(;.*)?', value=%{o,Content-Type}, full-match=true)"/>
<filter-ref name="Vary-header"/>
<filter-ref name="X-Robots-Tag"/>
<filter-ref name="xFrameOptions"/>
<filter-ref name="Content-Security-Policy"/>
<filter-ref name="transport-security"/>
<http-invoker security-realm="ApplicationRealm"/>
</host>
I'm missing something?