strapi / documentation

Strapi Documentation
https://docs.strapi.io
Other
1.01k stars 1.07k forks source link

Digital Ocean Droplet Deployment Edit: Add info about nginx max file size to config instructions #2132

Closed abuhelos closed 2 months ago

abuhelos commented 2 months ago

What does it do?

Add another bullet + code block in "Install and configure Nginx web server" to mention that nginx has a "client_max_body_size" property that prevents uploads greater than 1MB by default, and to provide instructions on how to change it.

Why is it needed?

I was running into errors uploading media over 1MB to the admin panel and it took a bit to figure out that it was an Nginx problem.

Related issue(s)/PR(s)

https://github.com/strapi/strapi/issues/9301

https://github.com/strapi/strapi/issues/13743

vercel[bot] commented 2 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
documentation ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 24, 2024 2:56pm
strapi-cla commented 2 months ago

CLA assistant check
All committers have signed the CLA.

pwizla commented 2 months ago

Thank you, @abuhelos! LGTM. The PR is now approved, merged, should be live on docs.strapi.io in a few minutes, and will be mentioned in the next weekly snapshot release.