Skip to content
Snippets Groups Projects

reverse proxies have upload limits, too - fixes #22

Merged dakkar requested to merge max-file-size into main
1 file
+ 13
0
Compare changes
  • Side-by-side
  • Inline
@@ -67,3 +67,16 @@ that](https://developer.mozilla.org/en-US/docs/Web/HTML/CORS_enabled_image#web_s
It's probably a caching issue. Look at [the update
instructions](../fresh/#caching-issues).
## How do I upload large files to the drive?
The default value for the `maxFileSize` configuration setting is
262144000 (250MiB). If you want to upload files larger than that, you
should change your configuration file accordingly.
If you're trying to upload files smaller than that limit, and still
get errors saying the file is too large, it's probable that the
reverse proxy in front of your Sharkey has its own limit. For example,
[nginx has
`client_max_body_size`](https://nginx.org/en/docs/http/ngx_http_core_module.html#client_max_body_size)
which defaults to only 1MB. You'll need to change that.
Loading