Welcome! Log In Create A New Profile

Advanced

Upstream timeout

May 05, 2013 11:43AM
Hi,

I'm using nginx 1.4.0 as loadbalancer for 2 jetty servers. At my windows development/test system I have simple added the following to the default config:
upstream backend {
server 127.0.0.1:10000;
server 127.0.0.1:10001;
}
server {
server_name backend.myserver1.de;
location / {
proxy_pass http://backend;
}
}

backend.myserver1.de is just an entry in my local host config.
When I start everything it seems to work properly but after some requests, max 10, the nginx does not work anymore. no more requests are being processed. When I restart the nginx server, it works for the next few requests.
When I call the backendservers directy in the browser the requests are processed correctly.

I haven't tested in on a linux machine, maybe it will work there. But for testeing it would be nice, if it would work on my windows system too.

Any hints?


Kind regards
Thorsten
SubjectAuthorPosted

Upstream timeout

thmarxMay 05, 2013 11:43AM

Re: Upstream timeout

thmarxMay 05, 2013 11:45AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 70
Record Number of Users: 7 on March 06, 2014
Record Number of Guests: 165 on April 21, 2014
Powered by nginx    Powered by FreeBSD    PHP Powered    Powered by Percona     ipv6 ready