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