so what do you use for accessing app on wildfly? http proxy or ajp proxy?
As shown above, I'm talking https to the reverse proxy, reverse proxy uses mod_proxy_ajp to talk ajp to wildfly.
If it helps, this is my apache config:
RewriteRule ^/+(jbpm-console.*) balancer://jbpm.dev/$1 [P]
ProxyPassReverse / balancer://jbpm.dev/
BalancerMember ajp://jee-server-1.com:1234 route=jee-server-1 ping=1 min=1 smax=1 max=8 ttl=60 acquire=15 connectiontimeout=1 timeout=60
BalancerMember ajp://jee-server-2.com:1234 route=jee-server-2 ping=1 min=1 smax=1 max=8 ttl=60 acquire=15 connectiontimeout=1 timeout=60 status=+H
That is strange. as when using AJP, protocol itself carries information about the originating host. so no additional configuration is required.
But that RewriteRule looks bit odd, which might also cause problems with this.
why not use
ProxyPass & ProxyPassReverse
instead of RewriteRule?
Hmm...perhaps this is a jbpm specific issue then..
I tried ProxyPass instead of RewriteRule. It had no affect.
Interestingly, if I create an ssh tunnel to the server (rather than going through the reverse proxy) it works fine. So it appears that the app is functional and configured correctly. I just can't seem to get to it through the reverse proxy.