NGINX 413 how to change this server wide ?
Hi all,
Im looking to change the max upload size when nginx is enabled,
I want to make the change server wide how i can do this i did see a article but its per user ?
413 Request Entity Too Large
Sincerly,
Marvin
-
Hi Marvin, We made the same change server-wide rather than having to do per-user by creating a file /etc/nginx/conf.d/max-file-size.conf with the content: client_max_body_size 32M;
I suggest running "nginx -t" after editing files to double-check that the config is correct before restarting nginx. Cheers, David0 -
thanks @dblundell your solution works fine i paste here wordpress error ( i think this help people with nginx ) Post-processing of the image failed. If this is a photo or a large image, please scale it down to 2500 pixels and upload it again.
Regards0
Please sign in to leave a comment.
Comments
3 comments