File Upload Size Limits#
Squirro enforces a default 96 MB file upload limit via two settings that must be kept in sync:
frontend.max-file-sizeServer configuration
client_max_body_sizeNginx proxy configuration
Modifying Upload Limits#
To increase the file upload limit:
Update the frontend configuration
Set
frontend.max-file-size(in bytes) in the server configuration. This setting is managed through Squirro’s Configuration Service under the Server space.Update the nginx configuration
Edit the nginx configuration file
/etc/nginx/nginx.confto setclient_max_body_sizeand restart the nginx service.sudo nano /etc/nginx/nginx.conf
sudo systemctl restart nginx
An important rule to follow is to ensure that the frontend.max-file-size value is set to be less than or equal to the client_max_body_size value.
Example Configuration#
To set a 200 MB upload limit, adjust the settings as follows:
Frontend Configuration (via Configuration Service)
frontend.max-file-size = 209715200
Nginx Configuration
client_max_body_size 200m;
Additional Considerations#
Datasource plugins
They may have additional limits.
Large file timeouts
Consider adjusting
client_body_timeoutin nginx for slow connections.PDF conversion timeouts
May need
proxy_read_timeoutadjustments for large PDF files.