After digging a bit deeper into this issue. It seems that the command /subsystem=undertow/server=default-server/host=default-host/location=\/:remove disables only the /opt/jboss/keycloak/welcome-content page, which…
You can create a welcome theme that overrides the welcome-page. First create the theme in: /standalone/configuration/themes/welcome/<theme name> Then configure which theme to use in keycloak-server.json: { "theme": { "welcomeTheme": "<theme name>" } }