I am working on replacing our Kemp Loadbalancers with nginx and so far,
things look good except for a minor issue. When a request comes into my
server on the HTTP port, our JBoss server uses ACEGI to redirect to https://www.myserver.com/dev/home. The first time this redirection
occurs, I’m sent to the URL of my proxy_pass directive.
I am running version 0.7.65 stable on CentOS 5.4. Here is my
The above is required for one of my JBoss apps, which uses Tomcat
security. The back-end doesn’t do relative redirects, and takes
whatever is in the host header from the client when constructing
redirect URLs. So you have to send it the host name.
Thanks Ryan, that did it. Any other tips for nginx and JBoss/Tomcat?
Just make sure you explicitly set explicit thread pool settings and
timeouts on the tomcat side. We discovered that even though the
documentation specifies a deault of 250 threads, the default was
actually 40. This departure from the documentation was confirmed by
load testing and looking at the running connector settings in
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.