Hello,
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
/root/chef/cookbooks/dcos/files/default/bootstrap.tar.xz
(dd69f42f36246af0bfc3dfad0f5d1195) to
https://chef04.theorchard.local:443/bookshelf/organization-436175e59363fc55b3620eecfe443b82/checksum-dd69f42f36246af0bfc3dfad0f5d1195?AWSAccessKeyId=23c9de96b156f0c1a59234ed809e60cafb7a3e5e764&Expires=1437423489325&Signature=toghY/CTHQUHWFbd5TJcOPaIJBE%3D
: 413 "Request Entity Too Large"413 Request Entity Too Large
openresty/1.7.10.1 *ERROR:* Request Entity Too Large
Any insight would be greatly appreciated.
Thanks,
--
Nikhil Shah • System Administrator
nshah@theorchard.com • 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
http://www.linkedin.com/company/the-orchard
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 (c) 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.