Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is there any way to upload a very large file use django on nginx?

I use django to run my website and nginx for front webserver ,

but when i upload a very large file to my site,

it take me very long time ,

there is some thing wrong when nginx hand upload large file;

the nginx will send the file to django after receive all my post file;

so this will take me more time;

i want to find some other webserver to replace the nginx;

wish your suggest?

like image 245
timger Avatar asked Nov 25 '22 20:11

timger


1 Answers

You problem not in nginx you problem in nginx settings.

If you want handle files with django - you should change some params

Timeout when uploading a large file?

Else nginx may handle files itself

http://www.grid.net.ru/nginx/upload.en.html

like image 185
b1_ Avatar answered Nov 27 '22 09:11

b1_