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" <[email protected]> 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 [email protected] > > _______________________________________________ > nginx mailing list > [email protected] > http://mailman.nginx.org/mailman/listinfo/nginx >
_______________________________________________ nginx mailing list [email protected] http://mailman.nginx.org/mailman/listinfo/nginx
