lua location capture

agentzh agentzh at gmail.com
Fri May 20 07:56:21 MSD 2011


On Fri, May 20, 2011 at 5:59 AM, Richard Kearsley
<Richard.Kearsley at m247.com> wrote:
> Hi
>
> The lua doc at https://github.com/chaoslawful/lua-nginx-module
>
> Says “Note that, by default, subrequests issued by ngx.location.capture
> inherit all the request headers of the current request.”
>
> And goes on to say that it can be an unwanted feature
>
> In my project I actually take advantage of this feature, but for some reason
> the headers don’t go through to the sub request
>

Could you please paste your nginx.conf here? Also, information about
your nginx's version and ngx_lua's version can also be helpful :)

Best,
-agentzh



More information about the nginx mailing list