diff --git a/chef/cookbooks/common/templates/default/nginx.conf.erb b/chef/cookbooks/common/templates/default/nginx.conf.erb index 633c082f7..3d9bb2ba4 100644 --- a/chef/cookbooks/common/templates/default/nginx.conf.erb +++ b/chef/cookbooks/common/templates/default/nginx.conf.erb @@ -75,6 +75,9 @@ http { proxy_redirect off; proxy_buffering off; + client_max_body_size 4M; + client_body_buffer_size 128K; + if (-f $request_filename/index.html) { rewrite (.*) $1/index.html break; }