Answers for "fix 413 (payload too large)"

8

413 Request Entity Too Large

#open terminal and type
sudo nano /etc/nginx/nginx.conf
#go to http block
http {
	...
    #add this line
    client_max_body_size 100M;
    ...
}
Posted by: Guest on August-02-2021
1

413 payload too large nodejs

app.use(express.json({limit: '50mb'}));
app.use(express.urlencoded({limit: '50mb'}));
Posted by: Guest on March-23-2022

Code answers related to "fix 413 (payload too large)"

Browse Popular Code Answers by Language