Tag Archives: nginx

Remember to specify nginx’s temp directory path

I catched this error in my log: 2010/11/20 12:38:22 [crit] 792#0: *58342 open() “/usr/local/fastcgi_temp/2/23/0000002309″ failed (13: Permission denied) while reading upstream, client: XXX.XXX.XXX.XXX, server: xxx.host.com, request: “GET /page.php”, upstream: “http://0.0.0.0/dir/page.php”, host: “lamnk.com”, referrer: “http://referrer.com/” fastcgi_temp should in no way belong to /usr/local. It’s clear that if you forget to set configuration flags, nginx will set [...]

Fix Nginx 411 Length Required error

If you don’t want to read my rant below: use HttpChunkinModule In my case i used a Readbility API to parse news articles’ content. The API receives requests and POST it back to URL specified in the request. However no matter how hard i tried, the API’s log always told me there was error. I [...]