Error while uploading cookbook

Hi,

Am getting the error while uploading the cookbook to chef server.

ERROR: Request Entity Too Large
Response: JSON must be no more than 1000000 bytes.

My cookbook file size is 200MB, I have verified the nginx.conf file client_max_body_size has set 250MB

The error is not from the webserver, because it gives you the hint : "JSON must be no more than 1000000 bytes."

So it must be in the chef-server config although I'm not familiar with what option to change.

Personnal advice is if your cookbook is 200MB then you have a design problem somewhere.
My 2 cents

Why is your cookbook running into this limit? Are you shoveling big binaries in there?