How to change file upload size limit in Nginx
- Keywords: #pattern
- author: #alex
- Nginx limits max file upload size to 1mb.
- To increase that you need to set client_max_body_size param.
- Example, for upload limit to be 10mb: client_max_body_size 10M;
- In Beanstalk you can add this configuration via .ebextensions.
- create a config file .ebextensions/upload_limit.config
- code to increase file limit
# config for file upload