Thursday, November 27, 2014

Nginx 413 Request Entity Too Large

Nginx 413 Request Entity Too Large


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;



Post a Comment