The .conf
files directory have to be .platform/nginx/conf.d/elasticbeanstalk
Create a new file called .platform/nginx/conf.d/01_client_size.conf
and paste in the following:
client_max_body_size 20M;
You don't need to restart the nginx manually, when you deploy it restart the services.
Thanks
Works for me. Thanks!