Thursday, November 27, 2014

Nginx 413 Request Entity Too Large

Error:
Nginx 413 Request Entity Too Large

Solution:

You are trying to upload file/video below max range for client request:
For solve this problem increase it in your nginx.conf file.


Nginx conf file will be located at /etc/nginx/nginx.conf. If it does not exist there, it may also be at /usr/local/nginx/conf/nginx.conf or /usr/local/etc/nginx/nginx.conf.


Then open it in your favourite editor and set your required (here i need 20M) value for server or http or location

    # set client body size to 20M #
    client_max_body_size 20M;

  

0 comments:

Post a Comment