Welcome! Log In Create A New Profile

Advanced

Re: Problems with upstream

Ryan Malayter
April 20, 2010 05:56PM
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
Subject Author Posted

Problems with upstream

mevans336 April 20, 2010 04:22PM

Re: Problems with upstream

Ryan Malayter April 20, 2010 05:56PM

Re: Problems with upstream

mevans336 April 20, 2010 09:22PM

Re: Problems with upstream

Ryan Malayter April 21, 2010 07:26AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 272
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready