Hi All
I am using nginx as a reverse proxy. The reverse proxy works based on the content of the request body. But at times the request body is too huge and hence content searching is taking too much time.
And my requirement is once I find the first occurence of the word in the body, I dont have to search for it. Rather would forward the complete request intended orginal server. So is there any progressive way of searching the content of the request body rather than storing the complete request and then searching which seems to be very time consuming. Even for a 1 KB body was taking around 20 secs.
Also am using the lua plugin for this in nginx.
Any help is much appreciated.
regards
Achuth
I am using nginx as a reverse proxy. The reverse proxy works based on the content of the request body. But at times the request body is too huge and hence content searching is taking too much time.
And my requirement is once I find the first occurence of the word in the body, I dont have to search for it. Rather would forward the complete request intended orginal server. So is there any progressive way of searching the content of the request body rather than storing the complete request and then searching which seems to be very time consuming. Even for a 1 KB body was taking around 20 secs.
Also am using the lua plugin for this in nginx.
Any help is much appreciated.
regards
Achuth