Re: Clientbodyinfileonly - POST request is discarded

2016-10-12 Thread yurai
Hi, >Are you reporting that the content of the client-file upload.txt is not >saved on the nginx server that is localhost, in a numbered file below >your client_body_temp_path? Yes. Exactly this. My /tmp/nginx-client-body directory is empty. >There is more than one server involved. Please be ver

Re: Clientbodyinfileonly - POST request is discarded

2016-10-12 Thread yurai
Hello, >"The file should be transferred to the nginx server." This is the whole point. With current configuration when I type curl --data-binary '@upload.txt' http://localhost/upload file is NOT transffered from client to server at all - "proxy_pass" is performed and I only get HTTP response 200

Re: Clientbodyinfileonly - POST request is discarded

2016-10-10 Thread yurai
Hello Francis, thank you for response. I just want to transfer big file on Nginx server inside POST request. I use method from: https://coderwall.com/p/swgfvw/nginx-direct-file-upload-without-passing-them-through-backend Whole my analysis and expectations are based on this article. Unfotunatel

Re: Clientbodyinfileonly - POST request is discarded

2016-10-07 Thread yurai
Hi Francis, I added return statement to my config as you suggested. Now config for backend s2 looks like: server { listen 8080; server_name s2; location / { root /usr/share/nginx/html/foo/bar; return 200 "Do something sensible with $http_x

Clientbodyinfileonly - POST request is discarded

2016-10-04 Thread yurai
Hello Nginx community, I try to perform big file upload on my Nginx server basing on instructions from https://coderwall.com/p/swgfvw/nginx-direct-file-upload-without-passing-them-through-backend Unfortunately I get "HTTP/1.1 405 Not Allowed" error code all the time. 1. My minimal configuration: