fix nginx domain count bug