mr kunz, if i dont specify the backend server on 8080 , it will show bad gateway error . uploading is fine . mr francis, why should i keep the code in the upload folder.server willl handle uploaded files. thanks for the reply Posted at Nginx Forum: http://forum.nginx.org/read.php?2,188434,188459#msg-188459