How to use $request_body?

witekfl Gazeta.pl witekfl at gazeta.pl
Mon Oct 4 12:04:53 MSD 2010


Hi,
There is in config:
location / {
    root blabla;
    if ($request_body ~* (blabla|bebe)) {
         return 404;
    }
}
nginx -t says invalid condition "$request_body".
Tell me what I'm doing wrong.

If you don't want to answer, tell me why and I'll stop asking.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://nginx.org/pipermail/nginx-devel/attachments/20101004/9858803f/attachment.html>


More information about the nginx-devel mailing list