Skip to main content

NGINX 413 how to change this server wide ?

Comments

3 comments

  • cPRex Jurassic Moderator
    Hey there! We have an article about this issue here:
    0
  • dblundell
    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, David
    0
  • leonep
    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.
    Regards
    0

Please sign in to leave a comment.