mirror of
https://github.com/Tria-plc/edr-platform.git
synced 2026-08-26 12:41:04 +00:00
feat(upload): increase document upload size limits to 50MB across the application
This commit is contained in:
@@ -11,6 +11,11 @@ server {
|
||||
add_header Referrer-Policy "strict-origin-when-cross-origin" always;
|
||||
add_header Permissions-Policy "camera=(), microphone=(), geolocation=()" always;
|
||||
|
||||
# nginx defaults to 1m and answers anything larger with its own HTML 413
|
||||
# before the request reaches an upstream. Kept in step with the 50MB
|
||||
# per-document ceiling the API enforces (DOCUMENT_UPLOAD_MAX_BYTES).
|
||||
client_max_body_size 50m;
|
||||
|
||||
gzip on;
|
||||
gzip_types text/plain text/css application/json application/javascript text/xml application/xml application/wasm;
|
||||
gzip_min_length 1024;
|
||||
|
||||
Reference in New Issue
Block a user