You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Freshly installed Mayan-EDMS appliance (15) uses nginx default upload size of 1 MB. In practice this value is too low and a upload of a huge document results in a 413 (Request Entity Too Large) error.
The value has to be manually adjusted in the nginx conf (client_max_body_size). https://nginx.org/en/docs/http/ngx_http_core_module.html#client_max_body_size
The text was updated successfully, but these errors were encountered:
I tested both, first the global http in /etc/nginx/nginx.conf and later the server block in /etc/nginx/sites-available/mayan. I think location should work, too.
Regarding a sane default value: I think, in general 50MB might be enough for a typical user. But I have some PDFs > 100 MB. Thus I choose 200MB for my personal needs - just to be safe in future.
Adding proxy_read_timeout is a good advice, thanks.
Freshly installed Mayan-EDMS appliance (15) uses nginx default upload size of 1 MB. In practice this value is too low and a upload of a huge document results in a 413 (Request Entity Too Large) error.
The value has to be manually adjusted in the nginx conf (
client_max_body_size
).https://nginx.org/en/docs/http/ngx_http_core_module.html#client_max_body_size
The text was updated successfully, but these errors were encountered: