This is a demo on setting up apache virtual with ssl termination that proxy passes to a wildfly app. The environment has been setup using Ansible.
The following things have been added
- Configure for EE8
- Set logger for custom package
- Create an admin account
- Add a truststore
Constraints:
- Cannot edit standalone.xml by hand. Everything MUST be done via CLI
A simple hello world app is deployed that does basic logging to show that it works.
Add the following to host entries:
10.128.251.2 vagrant.wildfly.fun.dis.nz
10.128.251.3 web.vagrant.wildfly.fun.dis.nz
10.128.251.4 app.vagrant.wildfly.fun.dis.nz
Run vagrant up
from platform directory
Add myCa.key certificate to your trusted root.
Run mvn clean install -Pdeploy
from build/app directory to build and deploy a test app to the vagrant.
Go to: https://web.vagrant.wildfly.fun.dis.nz/app to verify it works!