# Max Upload Size Setting?

**URL:** https://meta.discourse.org/t/max-upload-size-setting/106204
**Category:** Self-hosting
**Tags:** hosting
**Created:** [January 10, 2019, 4:32pm UTC](https://meta.discourse.org/t/max-upload-size-setting/106204 "2019-01-10T16:32:23Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![RobMeade](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/robmeade/32/109119_2.png) [@RobMeade](https://meta.discourse.org/u/RobMeade)
#### Post date: [January 10, 2019, 4:32pm UTC](https://meta.discourse.org/t/max-upload-size-setting/106204/1 "2019-01-10T16:32:23Z")

</div>

I just saw the list of changes/features for 2.0.0.beta 4 and noted the ability to differentiate between uploadable files for user and staff. I got a bit excited and wondered whether there was a related option to set the max upload file size separately also, e.g. no limit perhaps for staff, limit for users.

I can’t actually find this option at all anymore, has it been removed?

---

<div class="post-metadata">

### Author: ![awesomerobot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/awesomerobot/32/142900_2.png) [@awesomerobot](https://meta.discourse.org/u/awesomerobot)
#### Post date: [January 10, 2019, 5:49pm UTC](https://meta.discourse.org/t/max-upload-size-setting/106204/2 "2019-01-10T17:49:20Z")

</div>

Yes, that option was hidden from our hosted sites. Depending on the value of the setting, it involved changing NGINX settings which caused some confusion. We can still potentially raise the value for you, but we advise against setting it too high because even on a site that’s only moderately active it’s really easy to run out of upload space in a matter of months.

---

<div class="post-metadata">

### Author: ![RobMeade](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/robmeade/32/109119_2.png) [@RobMeade](https://meta.discourse.org/u/RobMeade)
#### Post date: [January 10, 2019, 5:53pm UTC](https://meta.discourse.org/t/max-upload-size-setting/106204/3 "2019-01-10T17:53:05Z")

</div>

Hi Kris,

Thanks for the reply.

I don’t know what NGINX is 🙂

I think we had ours set to 10Mb.

So a couple of questions;

- is our original limit still in place (10Mb) there a limit still in place?
- if we want to change it, who do we contact?

Any thoughts as to having an Admin bypass, much like the file extensions, so that administrators can upload files of different sizes to that of the limit imposed upon users?

---

<div class="post-metadata">

### Author: ![awesomerobot](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/awesomerobot/32/142900_2.png) [@awesomerobot](https://meta.discourse.org/u/awesomerobot)
#### Post date: [January 10, 2019, 6:17pm UTC](https://meta.discourse.org/t/max-upload-size-setting/106204/4 "2019-01-10T18:17:44Z")

</div>

> [@RobMeade](#):
>
> I don’t know what NGINX is 🙂

That’s one reason why it was a confusing setting 😉

> [@RobMeade](#):
>
> is our original limit still in place (10Mb) there a limit still in place?

Yes, your limit is still in place. If you want to change it you can just send us a PM (via [https://meta.discourse.org/groups/support](https://meta.discourse.org/groups/support)) or an email (for anyone else reading this, note that those direct support channels are only for customers).

> [@RobMeade](#):
>
> Any thoughts as to having an Admin bypass, much like the file extensions, so that administrators can upload files of different sizes to that of the limit imposed upon users?

This seems like a reasonable idea to me. @sam any thoughts on admins having a separate max upload size?

---

<div class="post-metadata">

### Author: ![RobMeade](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/robmeade/32/109119_2.png) [@RobMeade](https://meta.discourse.org/u/RobMeade)
#### Post date: [January 10, 2019, 6:24pm UTC](https://meta.discourse.org/t/max-upload-size-setting/106204/5 "2019-01-10T18:24:47Z")

</div>

That’s great, thank you Kris.

Regarding the admin setting, I guess either configurable, or, as the users setting no longer is, perhaps just unrestricted.

I only went looking for this because of the recent change for the extensions for admins, just assumed the upload size would be a sibling setting etc.

---

<div class="post-metadata">

### Author: ![jomaxro](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jomaxro/32/126216_2.png) [@jomaxro](https://meta.discourse.org/u/jomaxro)
#### Post date: [January 11, 2019, 11:11pm UTC](https://meta.discourse.org/t/max-upload-size-setting/106204/6 "2019-01-11T23:11:03Z")

</div>

> [@awesomerobot](#):
>
> This seems like a reasonable idea to me. @sam any thoughts on admins having a separate max upload size?

It’s probably doable, but it would require setting the NGINX limit to the “admin” max size, and the lowering the non-staff max size within Discourse. May end up adding even more confusion.

---

<div class="post-metadata">

### Author: ![RobMeade](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/robmeade/32/109119_2.png) [@RobMeade](https://meta.discourse.org/u/RobMeade)
#### Post date: [January 11, 2019, 11:29pm UTC](https://meta.discourse.org/t/max-upload-size-setting/106204/7 "2019-01-11T23:29:29Z")

</div>

> [@jomaxro](#):
>
> May end up adding even more confusion.

This seems to be the outcome with all my queries/suggestions at the moment, lol, I guess I’m guess _that guy_. 🙂

Would there be any harm in having the admins just unrestricted?

On a related note, if the storage space gets maxed out and a user tries to upload a file, what happens?

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [January 23, 2019, 10:27pm UTC](https://meta.discourse.org/t/max-upload-size-setting/106204/8 "2019-01-23T22:27:17Z")

</div>

> [@RobMeade](#):
>
> if the storage space gets maxed out and a user tries to upload a file, what happens?

Not much for the user. Admins starts seeing warnings about upgrading plan.

---

<div class="post-metadata">

### Author: ![RobMeade](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/robmeade/32/109119_2.png) [@RobMeade](https://meta.discourse.org/u/RobMeade)
#### Post date: [January 24, 2019, 7:51am UTC](https://meta.discourse.org/t/max-upload-size-setting/106204/9 "2019-01-24T07:51:36Z")

</div>

Hi Regis,

Thanks for the reply. That’s cool, so they are not inconvenienced, that’s really good.

Thanks again 🙂

---

<div class="post-metadata">

### Author: ![Anna\_Berns](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/anna_berns/32/137934_2.png) [@Anna\_Berns](https://meta.discourse.org/u/Anna_Berns)
#### Post date: [April 15, 2019, 8:27pm UTC](https://meta.discourse.org/t/max-upload-size-setting/106204/10 "2019-04-15T20:27:17Z")

</div>

Hi, would it be possible to at least make the current value of Max Upload Size visible somewhere in settings, and maybe also include a note on how to change (even if it means contacting Discourse to do so)?

E.g. we’ve had somebody run into an issue uploading a file, and don’t know what to tell them the size limit is…

Thanks!

(@danekhollas)
