Nginx and Websphere
Ravikiran Siddhanti
ravikiran at gocoop.com
Sat May 30 02:42:10 UTC 2015
Hi Francis,
We have been nginx with Php fpm for the last one year. In the last 2 months
we have been seeing php fpm getting overloaded sometimes and eventually
leading to 502/500/504 errors returned by nginx. Could you please help us
out?
Let me what details you would need I would send them in the next mail.
Thank you.
On 30 May 2015 03:15, "Francis Daly" <francis at daoine.org> wrote:
> On Fri, May 29, 2015 at 12:51:51PM -0400, sampy wrote:
> > Francis Daly Wrote:
>
> > > > location /WebApp {
> > > > proxy_pass http://webint;
> > > > proxy_redirect http://webint:9080/ /;
> > > > }
>
> > But when I change LOCATION from:
>
> > location /WebApp {
> > proxy_pass http://balancer/WebApp;
> > proxy_redirect http://balancer:9080/ /;
> > }
>
> > to:
>
> > location / {
> > proxy_pass http://balancer/WebApp;
> > proxy_redirect http://balancer:9080/ /;
> > }
>
> > stop working. "curl" sees the 302 redirection in both cases, but the web
> is
> > not showed in the second case. I think I forget something or I have some
> > mistake in syntax.
>
> Look at the proxy_pass in the very first one, the one that worked.
>
> It is just http://webint -- no / or anything after it.
>
> Whether you use "location /" or "location /WebApp", just use
> "proxy_pass http://balancer;"
>
> http://nginx.org/r/proxy_pass for the details.
>
> f
> --
> Francis Daly francis at daoine.org
>
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20150530/2a104269/attachment.html>
More information about the nginx
mailing list