- VPS project: https://tools.wmflabs.org/openstack-browser/project/wikidata-primary-sources-tool
- Instance: https://tools.wmflabs.org/openstack-browser/server/pst.wikidata-primary-sources-tool.eqiad.wmflabs
Use case: a data provider wants to upload/update a (possibly large) dataset to the Wikidata primary sources tool.
The following Web services accept file uploads:
Issue: current calls hit HTTP 413 error code (request entity too large).
Request: is it possible to set the following nginx directives to reasonable values?
- client_max_body_size
- proxy_read_timeout
To give an estimate, an average dataset with around 500k Wikidata statements weights 225 MB and takes roughly 2.5 minutes for a full upload, so I suggest the following values:
- client_max_body_size 250m;
- proxy_read_timeout 3m;