Problems with upstream

Ryan Malayter malayter at
Wed Apr 21 01:52:20 MSD 2010

On Tue, Apr 20, 2010 at 3:22 PM, mevans336 <nginx-forum at> wrote:

> When a user types in, they are redirected to https://jboss_dev_servers/dev/home. If I hit refresh, they are then directed to the proper url ( and the web page displays.
> Any ideas?

proxy_set_header Host $host;

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.


More information about the nginx mailing list