Welcome! Log In Create A New Profile

Advanced

Re: Clientbodyinfileonly - POST request is discarded

Francis Daly
October 10, 2016 12:18PM
On Mon, Oct 10, 2016 at 03:41:13AM -0400, yurai wrote:

Hi there,

> 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.

I think that at least one of us is confused.

You have "client" - "nginx" - "backend".

That document is about getting a file from "client" to "nginx", and then
telling "backend" what filename is used on "nginx".

If "backend" wants to access the file, that is out of the scope of that
document. ("backend" gets the filename, and should presumably do a
separate "open" on the shared filesystem, or have a separate transfer
to be able to read the file.)

> Unfotunately this "clientbodyinfileonly" functionality is not well
> documented so I'm not sure how exactly ok scenario from Nginx POV should
> look like. I just know that my file is not transfered and not saved on
> server side.

The file should be transferred to the nginx server.

If that happens, the nginx side is doing what it was configured to do.

The functionality is documented at
http://nginx.org/r/client_body_in_file_only

Cheers,

f
--
Francis Daly francis@daoine.org

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

Clientbodyinfileonly - POST request is discarded

yurai October 04, 2016 03:28PM

Re: Clientbodyinfileonly - POST request is discarded

Francis Daly October 04, 2016 03:48PM

Re: Clientbodyinfileonly - POST request is discarded

yurai October 07, 2016 03:47PM

Re: Clientbodyinfileonly - POST request is discarded

Francis Daly October 09, 2016 12:06PM

Re: Clientbodyinfileonly - POST request is discarded

yurai October 10, 2016 03:41AM

Re: Clientbodyinfileonly - POST request is discarded

Francis Daly October 10, 2016 12:18PM

Re: Clientbodyinfileonly - POST request is discarded

yurai October 12, 2016 06:28AM

Re: Clientbodyinfileonly - POST request is discarded

Francis Daly October 12, 2016 12:04PM

Re: Clientbodyinfileonly - POST request is discarded

yurai October 12, 2016 03:34PM

Re: Clientbodyinfileonly - POST request is discarded

Francis Daly October 12, 2016 05:46PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 279
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready