Description
Link to the documentation page or resource
https://docs.strapi.io/dev-docs/deployment/digitalocean#install-and-configure-nginx-web-server
Describe the bug
I'm following the digital ocean droplet deployment guide and thought it might be a good idea to mention in the Nginx section that the default client_max_body_size is 1 MB and add a copy code line to set it to 200 MB: strapi's default upload size.
Setting client max body size:
http {
{...}
client_max_body_size 200m;
{...}
}
Reloading configuration:
nginx -s reload
I was having trouble uploading larger files and it took me a bit to figure out that it was Nginx causing the problem.
This was the error: strapi/strapi#13743
SO thread for editing client_max_body_size: https://stackoverflow.com/questions/28476643/default-nginx-client-max-body-size
Additional context
No response
Suggested improvements or fixes
No response
Related issue(s)/PR(s)
No response