# Can't upload PDF to S3

**URL:** <https://meta.discourse.org/t/cant-upload-pdf-to-s3/212766>\
**Category:** Support\
**Created:** [December 21, 2021, 11:27am UTC](https://meta.discourse.org/t/cant-upload-pdf-to-s3/212766 "2021-12-21T11:27:57Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Andro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/andro/32/173721_2.png) [@Andro](https://meta.discourse.org/u/Andro)\
**Post date:** [December 31, 2021, 9:42am UTC](https://meta.discourse.org/t/cant-upload-pdf-to-s3/212766/4 "2021-12-31T09:42:42Z")

</div>

Finally figured it out at last. I had to add **client\_max\_body\_size** in the nginx reverse proxy server for discourse. In hindsight this is obvious, but it takes time to see sometimes!

---

_[View the full topic](https://meta.discourse.org/t/cant-upload-pdf-to-s3/212766)._
