Nginx and Websphere
sampy
nginx-forum at nginx.us
Thu May 28 08:15:08 UTC 2015
Francis Daly Wrote:
-------------------------------------------------------
> 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
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
I changed both possibilities and the "curl" shows the default web of nginx.
regards
Posted at Nginx Forum: http://forum.nginx.org/read.php?2,259127,259214#msg-259214
More information about the nginx
mailing list