-
1. Re: Wildfly 8.1 app behind reverse proxy
ctomc Feb 9, 2015 9:31 AM (in response to richard.quintin)so what do you use for accessing app on wildfly? http proxy or ajp proxy?
-
2. Re: Wildfly 8.1 app behind reverse proxy
richard.quintin Feb 9, 2015 9:37 AM (in response to ctomc)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/
<Proxy 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
</Proxy>
-
3. Re: Wildfly 8.1 app behind reverse proxy
ctomc Feb 9, 2015 9:45 AM (in response to richard.quintin)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?
-
4. Re: Wildfly 8.1 app behind reverse proxy
richard.quintin Feb 9, 2015 2:03 PM (in response to ctomc)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.