nginx: client intended to send too large body

Geeks, please accept the hero post of 2021 Microsoft x Intel hacking contest>>>

Nginx failed to upload the file. The log file shows: [error] 10756#0: * 939 client intent to send too large body: 1949984 bytes

Modify upload in/etc/php.ini_ max_ filesize=20M; post_ max_ size = 20M

Nginx configuration modification:

Open/etc/nginx/nginx.conf

Add the parameter client to http {}_ max_ body_ size 64M;

keepalive_ The value of timeout is modified as appropriate. Adjust the timeout

Similar Posts: