lua location capture

Richard Kearsley Richard.Kearsley at
Fri May 20 01:59:16 MSD 2011

The lua doc at
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
All I get is:

Host :
Connection : close
Content-Length : 0

It should have a TON of headers and I've proven they are there in the main request
Any ideas why they don't get through?

Thanks as always
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the nginx mailing list