| From | Sent On | Attachments |
|---|---|---|
| vetri | Jun 10, 2011 6:58 am | |
| Alexander Kunz | Jun 10, 2011 7:50 am | |
| vetri | Jun 10, 2011 9:40 pm | |
| Francis Daly | Jun 11, 2011 1:46 am | |
| vetri | Jun 12, 2011 11:11 pm | |
| Francis Daly | Jun 13, 2011 11:20 am | |
| vetri | Jun 13, 2011 11:07 pm | |
| Francis Daly | Jun 14, 2011 10:30 am |
| Subject: | Re: forward arguments in upload module | |
|---|---|---|
| From: | vetri (ngin...@nginx.us) | |
| Date: | Jun 10, 2011 9:40:00 pm | |
| List: | ru.sysoev.nginx | |
mr kunz,
Thanks for the reply . i am not using form to upload files. i am using java client to send files to nginx via post operation.
even though i tried what u said there is no notification at the backend .here is the config
worker_processes 20;
error_log /home/vetriselvanm/Desktop/upload/error.log info;
events { worker_connections 1024; }
http { include mime.types; default_type application/octet-stream;
server { listen 8085; client_max_body_size 0;
# Upload form should be submitted to this location location /zsupload { # Pass altered request body to this location upload_pass /test;
# Store files to this directory # The directory is hashed, subdirectories 0 1 2 3 4 5 6 7 8 9 should exist upload_store /home/vetriselvanm/Desktop/upload;
# Allow uploaded files to be read only by user upload_store_access user:rw group:rw all:rw;
# Set specified fields in request body 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";
# Inform backend about hash and size of a file 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$"; }
# Pass altered request body to a backend location /test { proxy_pass http://localhost:8090;
}
} } in that port 8090 one server is running to get notification and it will get key value and it will print it.
what do i do?
Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,205669,205829#msg-205829
_______________________________________________ nginx mailing list ngi...@nginx.org http://nginx.org/mailman/listinfo/nginx





