Quantcast
Channel: Nginx Forum
Viewing all articles
Browse latest Browse all 53287

Upstream timeout

$
0
0
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

Viewing all articles
Browse latest Browse all 53287

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>