infiniflow / ragflow

RAGFlow is an open-source RAG (Retrieval-Augmented Generation) engine based on deep document understanding.
https://ragflow.io
Apache License 2.0
18.53k stars 1.88k forks source link

[Question]: Restrictions on uploading PDF documents #1324

Open SkyblueMr opened 3 months ago

SkyblueMr commented 3 months ago

Describe your problem

When I try to upload a PDF document that's over 120MB, I get an HTTP 413 error. I've tried increasing the client_max_body_size parameter to 1024M in both the nginx.conf and ragflow.conf files, but I'm still unable to upload larger PDFs. How have you all managed to solve this issue?

KevinHuSh commented 3 months ago

MAX_CONTENT_LENGTH as a envirement variable should be modified. Did you? Otherwise check Ngnix configuration. Make sure all these modification come into effect.