Quantcast
Channel: Nginx Forum - Other discussion
Viewing all articles
Browse latest Browse all 972

POST data pattern search

$
0
0
Hello All

I want to search for a particular pattern in the POST data of the request and action on it according to the results of search

if ($request_body ~* (myvalue))
{

proxy_pass http://http_backend;

}


I tried this module https://github.com/tszming/nginx-rewrite-request-body-module

it works when POST data is small , when we have a long list of args , parsing takes forever and it timeouts. Is there any alternatives?

-Vij

Viewing all articles
Browse latest Browse all 972

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>