Nginx and Websphere
Francis Daly
francis at daoine.org
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 http://web.domain.com/
> >
> 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.
Possibly
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.
f
--
Francis Daly francis at daoine.org
More information about the nginx
mailing list