V
V
Vladimir2022-04-11 06:32:19
JavaScript
Vladimir, 2022-04-11 06:32:19

How to fix entity too large (rules nginx config for 5gb, used bodyParser with 5gb limit and loader file also 5gb?

Hello. Here is my code:

app.use(fileUpload({
  limits: { fileSize: 5000 * 1024 * 1024 }
}));

app.use(bodyParser({
  limit: 5000 * 1024 * 1024,
  extended: true
}));

Nginx config http section:
client_max_body_size 5000M;


I have been suffering with 413 for 2 days, I have no strength left, I have tried everything. Can you please tell me what else I can try?
Thank you.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question