How to use $request_body?

witekfl witekfl at
Mon Oct 4 12:04:53 MSD 2010

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: <>

More information about the nginx-devel mailing list