there is a strange line in log file: (sorry to use xxx replace of true
url)
192.168.1.1 - - [14/Jun/2011:20:53:24 +0800] “POST /1.php HTTP/1.1” 200
3729558 “http://mytest.com/xxx” “Mozilla/4.0 (compatible; MSIE 7.0;)”
10.10.1.12:80, 10.10.1.13:80 -
when nginx deals with 1.php, it sends POST to all upstream servers!
the next is normal log:
192.168.1.1 - - [14/Jun/2011:20:53:44 +0800] “POST /1.php HTTP/1.1” 302
2 " http://mytest.com/xxx" “Mozilla/4.0 (compatible; MSIE 7.0;)”
10.10.1.12:80 -
Could anyone tell me if it is a bug or just any configure improperly?
thanks.
actually, both 10.10.1.12 and 10.10.1.13 received the POST items with
1.php
(so repeat ran the script) ,
and why both servers being recorded as Upstream_addr in the log file?
Maybe the POST data is too big, then first upstream server cannot
response
in time. I forgot to point one fact , that is one server maybe only
receive
part of POST data.