On Tue, Apr 20, 2010 at 3:22 PM, mevans336 <nginx-forum@nginx.us> wrote:
> When a user types in www.myserver.com, they are redirected to https://jboss_dev_servers/dev/home. If I hit refresh, they are then directed to the proper url (https://www.myserver.com/dev/home/) 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.
--
RPM
_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx