Re: Local processing return values from fastcgi_pass

2014-08-01 Thread itpp2012
tnx Maxim, I'm going to try to solve this with Lua. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,252200,252211#msg-252211 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Local processing return values from fastcgi_pass

2014-08-01 Thread Maxim Dounin
Hello! On Fri, Aug 01, 2014 at 08:48:24AM -0400, itpp2012 wrote: > For example I have one fastcgi_pass location block and I want to process the > return values of a request to use in a second fastcgi_pass, is this possible > ? > > location ... { > ... > fastcgi_pass server1; > # server1 returns

Local processing return values from fastcgi_pass

2014-08-01 Thread itpp2012
For example I have one fastcgi_pass location block and I want to process the return values of a request to use in a second fastcgi_pass, is this possible ? location ... { ... fastcgi_pass server1; # server1 returns some values # process these values and call another fastcgi_pass server if (!$value