Rewriting the domain part of Set-Cookie in a proxy_pass
agentzh
agentzh at gmail.com
Thu Jun 9 06:09:31 MSD 2011
On Thu, Jun 9, 2011 at 3:30 AM, 杨镭 <clanherb at gmail.com> wrote:
> I am curious when there is an output_by_lua/output_by_luafle directive in
> nginx-lua module.
We will probably have header_filter_by_lua and body_filter_by_lua
directives by this Christmas ;)
For simplicity, I'll just borrow the mechanism used by
set_by_lua(_file) and disable subrequest support like
ngx.location.capture() in lua output filters.
> Currently, if one want to set/modify response header, the
> only possible way is to do a subrequest using ngx.capture.
> I think this is really cumbersome compared to declarative configuration such
> as: output_by_lua_file.
Agreed :)
Regards,
-agentzh
More information about the nginx
mailing list