From fd2b3e4e41b065d29e8964ca44a12da58a2c9de1 Mon Sep 17 00:00:00 2001 From: DrTrills Date: Thu, 24 Apr 2014 17:57:44 -0400 Subject: [PATCH] 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/ --- nginx.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/nginx.conf b/nginx.conf index 6409e34..a15250c 100644 --- a/nginx.conf +++ b/nginx.conf @@ -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;