Nginx 413 Request Entity Too Large

I just installed Nginx in my VPS, and get a problem when I uploaded a WP theme. The error message: “413 Request Entity Too Large”

I have searched in Google to solve this problem, many articles say I must change client_max_body_size. The problem, I can’t find client_max_body_size in Webmin - Nginx Webserver, /etc/nginx/nginx.conf. Can you help me to change this?

Thanks in advance. :slight_smile:

1 Like

HI all,

I have changed to “client_max_body_size 50M” and “keepalive_timeout 400”, but I still get the error message “413 Request Entity Too Large”. The size of theme is only 1,1 MB.

Can someone use Nginx - Virtualmin help me to solve this problem? Thanks in advance…:slight_smile:

1 Like