Stop being the product.
Become the owner.
or
sign uplog in

NGINX Status Code 413: Request Entity Too Large. On my…

NGINX Status Code 413: Request Entity Too Large.

On my client, I am getting the Status Code 413. In the NGINX err logs I am getting the message shown below when I send an array of imagges to be processed from form data.
2026/06/19 13:10:26 \[error\] 28804#9052: \*838 client intended to send too large body: 22992056 bytes, client: 127.0.0.1, server: testsite.com , request: "POST /process/ HTTP/1.1", host: " testsite.com "

I added client\_max\_body\_size 100M and client\_body\_buffer\_size 25M into the http, server, and location sections and still same issue. My client server is nuxt and tried

    requestSizeLimiter:
  {
    maxRequestSizeInBytes: 250 * 1000 * 1000,
    maxUploadFileRequestInBytes: 50 * 1000 * 1000
  }

along with

    requestSizeLimiter: false

same issue. What should I do?
#dev #programming #technology
source
earnings
3,000 mlx total
$0  total
engagement
5 views
0 reactions

0 comments