I am guessing it’s the permissions issue on the incoming temp folder.  I just 
posted the same on the list, not published yet.

2018/06/26 16:50:20 [crit] 36196#0: *1099 open() 
"/usr/local/var/run/nginx/client_body_temp/0000000018" failed (13: Permission 
denied), client: 127.0.0.1, server: pass1.local, request: "POST /upload 
HTTP/1.1", host: "pass1.local:8080", referrer: "http://pass1.local:8080/upload";
2018/06/26 16:50:20 [debug] 36196#0: *1099 http finalize request: 500, 
"/upload?" a:1, c:1
2018/06/26 16:50:20 [debug] 36196#0: *1099 event timer del: 16: 1530046280299
2018/06/26 16:50:20 [debug] 36196#0: *1099 http special response: 500, 
"/upload?"
2018/06/26 16:50:20 [debug] 36196#0: *1099 HTTP/1.1 500 Internal Server Error

Kaushal, your nginx is running as whom?  Both your user and your workers.  
Second, what are the permissions on the following:

$ ll /usr/local/var/run/nginx/
drwxr-xr-x  7 rich    admin   238B Dec  8  2016 .
drwxr-xr-x  4 rich    admin   136B Jun 19 15:19 ..
drwx------  2 nobody  admin    68B Dec  8  2016 client_body_temp



> On Jun 19, 2018, at 3:26 AM, Aleksandar Lazic <al-ng...@none.at> wrote:
> 
> What's in the nginx error logs file?
> 
> There should be more informations about the reason of the 413 as you can
> see in the source.
> 
> https://github.com/nginx/nginx/search?q=Request+Entity+Too+Large&unscoped_q=Request+Entity+Too+Large
> 
>> Best Regards,
> 
> Best regards
> Aleks

Cheers
_____________
Rich in Toronto @ VP






_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx

Reply via email to