I am having a hard time uploading a cookbook larger than typical cookbooks.
This is a POC cookbook and the vendor was able to upload to chef hosted;
however, I cannot upload to my chef server.
Note: I’ve updated the /var/opt/opscode/nginx/etc/nginx.conf file and
edited the line for client_max_body_size 2048M;
Also restarted nginx service via chef-server-ctl restart.
Everytime I try to upload the cookbook, I get the following error:
knife cookbook upload dcos
Uploading dcos [0.1.0]413 Request Entity Too Large
ERROR: Failed to upload
: 413 “Request Entity Too Large”
413 Request Entity Too Large
openresty/220.127.116.11 *ERROR:* Request Entity Too Large
Any insight would be greatly appreciated.
Nikhil Shah • System Administrator
firstname.lastname@example.org • p. (+1) 212 308-5648
THE ORCHARD Distribution Done Right
23 E 4th St Fl 3, New York, NY 10003
Follow us: The Daily Rind http://www.dailyrindblog.com/ • Facebook
http://www.facebook.com/theorchard • Twitter
http://www.twitter.com/orchtweets • YouTube
http://www.youtube.com/user/theorchard • LinkedIn
Privileged And Confidential Communication. This electronic transmission,
and any documents attached hereto, (a) are protected by the Electronic
Communications Privacy Act (18 USC §§ 2510-2521), (b) may contain
confidential and/or legally privileged information, and © are for the
sole use of the intended recipient named above. If you have received this
electronic message in error, please notify the sender and delete the
electronic message. Any disclosure, copying, distribution, or use of the
contents of the information received in error is strictly prohibited.