sudo useradd wildflysudo chown -R wildfly keycloaksudo chown -R wildfly /opt/avril/uploadsudo service wildfly startIt is necessary because we want to run the application on port 80. There are many possibilities to do it, but IMHO the cleanest (and simplest?) would be to proxy requests from Apache (port 80) to Wildfly (port 8080).
This howto is not exactly what we need, but it is a good point to start.
Enable:
Example command:
sudo a2enmod proxy_ajp
In proxy.conf:
ProxyPass / ajp://localhost:8009/\\ # ProxyPass / http://localhost:8080/doit/\\ # ProxyPassReverse / http://localhost:8080/doit/
In the keycloak admin console go to “Clients”, choose “avril-web” and on the “Settings” screen set Root URL to http://avril.wialon-consulting.de