Skip to content

Instantly share code, notes, and snippets.

@vatsal2210
Last active December 23, 2020 16:03
Show Gist options
  • Save vatsal2210/57871c351ef4b54081d0475df9889b5c to your computer and use it in GitHub Desktop.
Save vatsal2210/57871c351ef4b54081d0475df9889b5c to your computer and use it in GitHub Desktop.
Set Elastic Beanstalk nginx config file
/**
* Delete this comment when you deploy the code.
* Step 1: Create a folder in your application at root leve
* : .platform/nginx/conf.d/proxy.conf
* Step 2: Write a single line as below:
* Reference: Difference b/w Linux 1 and Linux 2 - https://stackoverflow.com/questions/62924523/configuring-nginx-client-max-body-size-on-elastic-beanstalk-node
**/
client_max_body_size 100M;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment