NGINX: 413 Request Entity Too Large
Edit nginx.conf or vhost configuration file and modify or add following line adjusting the desired size.:
Code:
...
# Upload maximum size
client_max_body_size 15M;
...
If your site is most probably using PHP, nginx also needs to set the following php parameter:
Code:
...
location ~\.php($|/) {
fastcgi_param PHP_VALUE "post_max_size=15M \n upload_max_filesize=15M ";
...
_________________
VPSie - SSD VPS servers in AMS-IX, LINX, DE-CIX
https://vpsie.com