From ea98622170a152feeb06b58b2a45c620d8b2e474 Mon Sep 17 00:00:00 2001 From: Johannes Zellner Date: Sun, 19 Apr 2015 14:37:17 +0200 Subject: [PATCH] Allow up to 512mb body size for file uploads We might want to make that configurable by the app? --- setup/start/nginx/appconfig.ejs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/setup/start/nginx/appconfig.ejs b/setup/start/nginx/appconfig.ejs index e1f43ff5e..bfadbca18 100644 --- a/setup/start/nginx/appconfig.ejs +++ b/setup/start/nginx/appconfig.ejs @@ -50,6 +50,8 @@ server { proxy_buffers 4 256k; proxy_busy_buffers_size 256k; + client_max_body_size 512m; + <% if ( isAdmin === true ) { %> location /api/ { proxy_pass http://127.0.0.1:3000;