0
votes
2answers
1k views

Nginx 1.2.1: How to analyse 500 Internal Server Error

I'm responsible for a nginx server that redirects and splits requests. At our production engine we run nginx 1.2.1 and on a test machine we run 1.4.1. The configuration is the same but on the ...
0
votes
1answer
305 views

pread() read only xxxx of yyyy

Occasionally, nginx doesn't send any data back to the browser (ERR_EMPTY_RESPONSE in Chrome). Upon checking the server error.log, I find these weird messages: 2013/10/20 23:57:40 [alert] 29146#0: ...
0
votes
1answer
309 views

500 error after configuring SubDomain w/ ISPConfig and NGINX

This morning, I was trying to set up a sub domain- and I thought I would give ISPConfig's panel a shot before I tried wrangling with nginx's configuration. The ISPConfig looked like it would work ...
0
votes
1answer
140 views

Ubuntu Nginx Error

What is causing my redirect error after I upgraded to latest Nginx on latest Ubuntu? 2013/06/10 19:00:01 [error] 1078#0: *5434041 rewrite or internal redirection cycle while internally redirecting to ...
0
votes
1answer
80 views

500 error on 404 request

I am having a problem where my site's 404 request are ending up as 500 errors on the server. When I use wget to retrieve the site, I get this Resolving gx5.co.uk... 127.0.0.1, 87.106.9.224 ...
7
votes
1answer
1k views

Nginx add_header for a 50* page

I'm currently trying to get nginx to add a header to the response when it is sending some kind of 50* error. I already have an add_header directive on the http block, and that gets respected for all ...
0
votes
3answers
2k views

Nginx not logging PHP errors

When accessing some PHP scripts on my website, I'm getting the dreaded 500 error message. I'd like to know what's wrong to fix it, but Nginx isn't logging any PHP errors in the log file I have ...
0
votes
1answer
577 views

Custom “workers” error on Nginx?

i'm having some problems with nginx. I think it's easy to solve, but i'm extremely newbie in nginx, so: When worker_connections reach limit, nginx return a 500 internal server error. I want to ...
4
votes
2answers
5k views

nginx: how do I track down a random 500 from nginx (not my application). Potentially has something to do with load?

We recently had some 500's from nginx itself that somehow were not logged (we have screenshots, but nothing in the logs). That is weird in itself, because usually errors show up there. Regardless, I ...
0
votes
1answer
3k views

nginx + munin “internal redirection cycle”

I have an SSL domain that runs nginx, and I want to be able to access my munin graphs/stats on that domain. So, in the domain's server block, I added this: location = /munin/ { alias ...
3
votes
1answer
1k views

nginx error page and internal directives not working as expected

I'd like to setup my nginx server to return a specific error page on HTTP 50x status codes, and I'd like this page to be unavailable by a direct request from users (e.g., http//mysite/internalerror). ...
0
votes
3answers
1k views

socket() failed: No buffer space available while connecting to upstream

On my ubuntu 10.04 VPS, I get a regular 500 error on nginx (0.7.??)+ fcgi web server running a durpal site and when I trace the nginx error log I see plenty of these: socket() failed: No buffer ...
1
vote
1answer
1k views

Nginx+Passenger: 502 Bad Gateway from Nginx when passing urlencoded URLs in GET vars

Here's an example of the URLs that don't work: http://domain/do?url=http%3A%2F%2Fwww.linkedin.com%2Fin%2Fperson http://domain/do?url=http%3A%2F%2Fwww.linkedin.com%2F However, the following URL does ...