I\'m running a rails application on Ruby 2.0/Puma instances and am trying to customize the nginx configuration. I need to increase the permitted request size to allow file uploa
this is my configuration and worked for me. You have to include it inside of the http block.
files: "/etc/nginx/conf.d/proxy.conf" : mode: "000755" owner: root group: root content: | http { client_max_body_size 20M; }