Quantcast
Channel: Error: request entity too large - Stack Overflow
Viewing all articles
Browse latest Browse all 35

Answer by Kent for Error: request entity too large

$
0
0

The setting below has worked for me

Express 4.16.1

app.use(bodyParser.json({ limit: '50mb' }))app.use(bodyParser.urlencoded({  limit: '50mb',  extended: false,}))

Nginx

client_max_body_size 50mclient_body_temp_path /data/temp

Viewing all articles
Browse latest Browse all 35

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>