Hello!
On Mon, Aug 4, 2014 at 1:34 PM, info wrote:
> rewrite_by_lua '
> x = 1;
> y = 5;
> call backend (x,y);
> process return values;
> ';
>
> nb. backend is a calculation server.
>
Two ways:
1. Use ngx.location.capture + ngx_proxy.
2. Use cosocket API to access backend directly (for example, you can
use one of those lua-resty-http libraries for this).
Regards,
-agentzh