Hi all,
I'm hoping to write an nginx-lua script which handles file uploads from the nginx upload module. I can do this fine using an external backend and the upload_pass directive, but the lua module has no functionality for parsing the multipart form data that this generates. I've also tried accessing the $upload_file_name, $upload_tmp_path etc. variables generated by the upload module directly, but I don't seem to be able to access these outside of the upload_set_form_field directive.
Is there any way to get the contents of those variables into a lua handler in a form that can be easily parsed?