extend the upload module

JCR nginx-forum at nginx.us
Mon Apr 23 13:52:04 UTC 2012


I am using the /nginx_upload_module-2.2.0 with nginx 1.0.15
with great success

I would like to extend it in two ways:

Each HTTP POST request to the module contains a username and a password
field and I would like to make some checks on those values as early as
possible and possibly reject the request even before the file is

I would like to save the file in a directory which depends on the file
name and using the original file name instead of the current 10-digit
000... filename

I have studied the code a little bit but I am still unclear as to where
exactly I should look to implement (1) and (2)


Posted at Nginx Forum: http://forum.nginx.org/read.php?2,225666,225666#msg-225666

More information about the nginx mailing list