歡迎您光臨本站 註冊首頁

nginx負載均衡,分發2次問題

←手機掃碼閱讀     火星人 @ 2014-03-04 , reply:0

nginx負載均衡,分發2次問題

最近在配置nginx負載均衡,可以實現均衡了,但是看到ngix分發了2次

看到nginx的日誌如下
180.153.114.200 - - "GET /cgi-bin/submit_transcode.cgi?src_name=/repfsa/Hotcha.mkv&dest_name=/repfsa/zecloud/16/Hot.mp4&dest_format=mpeg4&dest_width=640&support_list=1&priority=99&UUID=201206161242 HTTP/1.1" 200 31 "-" "Mozilla/4.0"
218.108.32.78 - - "GET /cgi-bin/submit_transcode.cgi?src_name=%2Frepfsa%2FHotcha.mkv&dest_name=%2Frepfsa%2Fzecloud%2F16%2FHot.mp4&dest_format=mpeg4&dest_width=640&support_list=1&priority=99&UUID=201206161242 HTTP/1.1" 200 21 "http://218.108.168.132:9999/" "Mozilla/5.0 (compatible; MSIE 9.0; Windows NT 6.1; WOW64; Trident/5.0)"



其中218.108.32.78是我本地機器的公網ip
180.153.114.200 ip是電信的,不知道是哪兒來的

求解
《解決方案》

而且180.153.114.200的請求好像不是nginx分發的
《解決方案》

新發現,我在本地請求,nginx有2次請求
朋友在外地請求,nginx就只有一次,是不是和運營商有關係
《解決方案》

180.153.114.200
應該是一個搜索引擎的IP
《解決方案》

應該是上面有做cache的伺服器

[火星人 ] nginx負載均衡,分發2次問題已經有659次圍觀

http://coctec.com/docs/service/show-post-12567.html