Hi all I'm working on a server that has the following config
Ubuntu 9.04
nginx 0.7.64
upload module 2.0.11
php5 via fastCGI
I'm trying to make a simple file upload test and I keep getting a 404 not found
here is my config relating to the upload
location /upload {
upload_pass @uploadinternal;
upload_store /tmp 1;
upload_store_access user:r;
upload_set_form_field $upload_field_name.name "$upload_file_name";
upload_set_form_field $upload_field_name.content_type "$upload_content_type";
upload_set_form_field $upload_field_name.path "$upload_tmp_path";
upload_aggregate_form_field "$upload_field_name.md5" "$upload_file_md5";
upload_aggregate_form_field "$upload_field_name.size" "$upload_file_size";
upload_pass_form_field "^submit$|^description$";
upload_cleanup 400 404 499 500-505;
}
location @uploadinternal {
# proxy-pass http://localhost:9000;
include /etc/nginx/fastcgi_params;
fastcgi_pass 127.0.0.1:9000;
fastcgi_param SCRIPT-FILENAME /var/www/upload.php;
}
if I hit the root of the site /upload.php I get the expected no inputfile specified error
if I hit the /upload I get a 404
I've been staring at this for a couple of days so any help would be MUCH appreciated