Actually if you were using nginx you would need the nginx module installed. After that you'd also need to edit vbulletin's code to use X-Real-IP or whatever custom IP header you are using in nginx instead of just REMOTE_ADDR.