I need write a nginx module to upload a single file by POST method.
Just get post request and move the file to a specified path.
It is simple but I cannot get the POST data now. I want to know how to move the file from ngx_http_request_t *r to the filesystem.
Thank U !