文章參考:http://ox0spy.github.io/debian/2014/06/26/setup-lvs-and-keepalived-on-debian/nginx
親測可用,有一個坑,若是你對着文檔作,極可能就忘記web server要開啓nginx了,service nginx start,哈哈哈git