Addded client_max_body_size 20M;
Prevents 413 Error. For uploading files. info: http://www.daveperrett.com/articles/2009/11/18/nginx-error-413-request-entity-too-large/
This commit is contained in:
parent
bf0e3657f9
commit
fd2b3e4e41
|
@ -33,6 +33,7 @@ http {
|
|||
|
||||
# Hide nginx version information.
|
||||
server_tokens off;
|
||||
client_max_body_size 20M;
|
||||
|
||||
# Define the MIME types for files.
|
||||
include /etc/nginx/mime.types;
|
||||
|
|
Loading…
Reference in New Issue