If you are still old school and are using Chef 11 in AWS Opsworks and you need to set “client_max_body_size” to a larger number than default add this to your layers custom json:
"nginx":{ "client_max_body_size": "10M" }
This will be applied during Setup so once you have added this go to each of your instances>run command> Setup.
Have fun….and upgrade to Chef 12.
Advertisements
Reblogged this on Ratedsar's Blog and commented:
One of the pains we feel when running in Opworks (typically chosen because Heroku gets more expensive at reasonable scale) is finding the right documentation.
Sometimes it’s a matter of looking through the default chef scripts and dissecting JSON configuration more than anything else.