Hello!
On Wed, Jun 1, 2016 at 12:16 AM, 杨阳 wrote:
> why "query string ignored for named locations" when use like
> ngx.exec("@xxx")", so how can I pass some values for named locations exec?
> first I want to use ngx.ctx, but I find it will not effect.
>
Just avoid using named locations for this. You can define internal
locations as in
location = /@foo {
internal; # this line is important so that the outside world
cannot see this location at all.
...
}
BTW, ngx.ctx won't survive internal redirects, just as with nginx
variables, by nginx's own design.
Regards,
-agentzh