lua: ngx.location.capture / limit proxy_cache individual file size
agentzh
agentzh at gmail.com
Fri May 20 10:51:40 MSD 2011
On Fri, May 20, 2011 at 2:15 AM, Richard Kearsley
<Richard.Kearsley at m247.com> wrote:
> Is it possible to do a version of ngx.location.capture that only does a HEAD
> request rather than GET?
>
Please try
ngx.location.capture("/some-location", { method = ngx.HTTP_HEAD })
If it does not work, please consider file a bug ticket on GitHub:
https://github.com/chaoslawful/lua-nginx-module/issues
> I’m only interested in the headers returned, the body would make what I’m
> trying to do pointless L
>
*nod*
Best,
-agentzh
More information about the nginx
mailing list