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:
DrTrills 2014-04-24 17:57:44 -04:00
parent bf0e3657f9
commit fd2b3e4e41
1 changed files with 1 additions and 0 deletions

View File

@ -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;