Portal Home > Knowledgebase > Articles Database > stupid nginx!!


stupid nginx!!




Posted by ballighohosting, 10-27-2013, 04:35 AM
Hello .. I have a youtube-like site that was working perfectly .. but I don't know what happened -maybe plesk update- it prevents me from uploading large videos .. it gives the following error: 413 Request Entity Too Large, nginx I have read around for this issue and all fixes were: add the following line to the nginx.conf file: client_max_body_size so I set it to: client_max_body_size 2000M; and reloaded nginx but it still gives me the same error for a 400 MBs video upload!! any help please??? Thanks..

Posted by gingir, 10-27-2013, 04:43 AM
Odd, that should have done the trick. A couple of things to check Did you put client_max_body_size in the http{} context? Are there other client_max_body_size? Check other files as well, like proxy.conf Last edited by gingir; 10-27-2013 at 04:47 AM.

Posted by abc0707, 10-27-2013, 04:44 AM
written in php? u have to change value of upload_max_filesize and post_max_size in your php.ini

Posted by ballighohosting, 10-27-2013, 04:55 AM
these are all set properly .. it was working perfectly and uploading videos up to 1 GBs in size.. but lately I started receiving this nginx thing .. what is this nginx anyways! is it critical?? and is there a way to turn it off?? things were better off without it .. I'm running plesk on centos 6 by the way .. Thanks..

Posted by gingir, 10-27-2013, 05:03 AM
It's a reverse proxy and web server, people like it because it serves static content in a better way than the default apache configuration would. Check my previous post. Last edited by gingir; 10-27-2013 at 05:10 AM.

Posted by ballighohosting, 10-27-2013, 05:11 AM
ok I stopped the damn thing and things are back to normal and working perfectly .. from plesk: Tools and Settings -> Services Management -> Reverse proxy server (stupid nginx) Thanks for the help guys : )

Posted by net, 10-27-2013, 05:45 AM
Moved > Hosting Security and Technology.



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read


Language: