Posted at

Elastic beanstalk で大きいデータを POST したら nginx が 413 Request Entity Too Large

More than 3 years have passed since last update.

.ebextensions/01-nginx-max-body.config として次のファイルを突っ込む。


.ebextensions/01-nginx-max-body.config

files:

"/etc/nginx/conf.d/client-max-body-size.conf":
mode: "000644"
owner: root
group: root
content: "client_max_body_size 10m;"