NGINX 413 how to change this server wide ?

cPRex

Jurassic Moderator
Staff member
Oct 19, 2014
6,062
775
313
cPanel Access Level
Root Administrator
Hey there! We have an article about this issue here:


Can you try that and see if that helps with the problems you're seeing?
 
  • Like
Reactions: danfbach

dblundell

Registered
PartnerNOC
Feb 4, 2014
1
2
53
cPanel Access Level
DataCenter Provider
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
 
  • Like
Reactions: leonep and cPRex