Hello!
On Mon, Sep 3, 2012 at 1:24 PM, Tzury Bar Yochay wrote:
> I tried that before switching to .exec, however, if within access_by_lua
> there is an ngx.header.XXX then it does not behave that way.
>
Ah, I see. The header and/or body filters defined by Lua in the
current location will indeed be run anyway. Internal redirects should
work here as long as you do not define Lua filters in the new location
that it jumps to :)
Best regards,
-agentzh