Quantcast
Channel: Nginx Forum - How to...
Viewing all articles
Browse latest Browse all 4759

Read the Request Body and return 200 OK

$
0
0
Hi ,

We are building up the speed test like server on nginx. On the Upload side we need some help on configuring the nginx.

The client send some random bytes over POST. The nginx backend just read the bytes and return 200Ok.

Is there any simple conf to do that.

We used Lua support to write the POST data to a file. The disk IO is overhead here .

We need not process the POST data instead just read the bytes and do nothing and return 200.

Viewing all articles
Browse latest Browse all 4759

Trending Articles



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