Answer the question
In order to leave comments, you need to log in
File upload size in nginx
ubuntu server. In nginx.conf, in the http section, I added the line:
client_max_body_size 1024M;
But when loading a file whose size is just over 200 megabytes, nginx gives an error:
2013/02/13 22:32:12 [error] 28766#0: *97 client intended to send too large body: 279436746 bytes, client: xx.xx.251.76, server: www.example.com, request: "POST /uploadfiles HTTP/1.1", host: "www.example.com", referrer: "http://www.example.com/addfiles/"
(I replaced the server name and IP with other values here)
Who can tell me why? And how to deal with it?
Answer the question
In order to leave comments, you need to log in
Most likely client_max_body_size is overwritten further in the config
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question