Nginx Config for client_max_body_size in Opsworks

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:

 "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.