Nginx and Websphere

Francis Daly francis at
Thu May 28 07:47:49 UTC 2015

On Thu, May 28, 2015 at 02:35:10AM -0400, sampy wrote:
> Francis Daly Wrote:

Hi there,

> > Could you show the response to
> > 
> >   curl -i
> > 
> I just remove "proxy_set_header Host $host"
> And the result for curl:
> HTTP/1.1 302 Found

> Location: http://webint:9080/WebApp/main.jsf

Use "proxy_redirect" to tell nginx to convert the start of that back to
what you want it to be.


  proxy_redirect http://webint:9080/ /;

or possibly

  proxy_redirect http://webint:9080/WebApp/ /;

depending on what your full plan is.

Then repeat the "curl" and see what is different.

And see if it works from your normal browser.

Francis Daly        francis at

More information about the nginx mailing list