I changed "localhost:8000" ==> "127.0.0.1:8000", and it work as I expected!
Posted at Nginx Forum:
https://forum.nginx.org/read.php?2,280930,280944#msg-280944
___
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Hello Super Heroes.
I want to limit connections in a service. So I used max_conns directive in
upstream.
But it allows twice connections as many as I've set.
So, I suspected myself. Maybe… Am I used the direction in wrong way.
And I found some descriptions about “max_conns” exception rules.