I need to store binary content of the request body into the file in the server's file system.
No CGI, PHP or any other executable means available, thus was looking for using nginx stuff only. I found out that when POSTing nginx saves contents of the request body into specific file pointed by $request_body_file. Is there any nginx directive to copy this file to some location within the server (where server has write permission)?
Any other suggestions are welcome.