userdir은 서버의 사용자 계정을 http://www.yongbok.net/~ruo91 처럼 주 도메인 뒤에 ~ID 형태로 접속 가능하도록 해주며 주로 무료 도메인을 발급 해줄때 유용하게 쓰입니다.
많이 사용하는 아파치에서는 userdir 모듈이 있어야 동작이 가능하지만 Nginx 에서는 리다이렉트로 쉽게 구현이 가능 합니다.

[root@yongbok ~]# nano /usr/local/etc/nginx/nginx.conf 

# Main ( yongbok.net )
server {
listen    80;
server_name  www.yongbok.net yongbok.net www.yongbok.com yongbok.com www.yongbok.pe.kr yongbok.pe.kr;

log_format gzip ‘$remote_addr – $remote_user [$time_local]  ‘
‘”$request” $status $bytes_sent ‘
‘”$http_referer” “$http_user_agent” “$gzip_ratio”‘;

#access_log  log/www/www-access.log;
error_log  log/www/www-error.log;

root   /home/www;
index  index.php index.html index.htm;

if ($host ~* ^180\.224\.219\.12$) {
rewrite  ^(.*)$  http://www.yongbok.net$1  last;
break;
}
#——————————————————————-#
# userdir redirection ( ~ )
# 아파치에서 사용하는 http://www.yongbok.net/~ruo91 형식 입니다.
location ~ ^/~([^/]+)/(.+\.php)$ {
if (!-f /home/$1/public_html/$2) {
rewrite ^ 404;
}
alias /home/$1/public_html/$2;
}

location ~ ^/~([^/]+)(/.*)?$ {
alias /home/$1/public_html$2;
autoindex on;
}
#——————————————————————-#
# userdir redirection ( @ )
# 아파치에서 사용하는 ~ 대신에 @로 접속 가능합니다. http://www.yongbok.net/@ruo91
location ~ ^/@([^/]+)/(.+\.php)$ {
if (!-f /home/$1/public_html/$2) {
rewrite ^ 404;
}
alias /home/$1/public_html/$2;
}

location ~ ^/@([^/]+)(/.*)?$ {
alias /home/$1/public_html$2;
autoindex on;
}
#——————————————————————-#
location /status {
stub_status on;
access_log off;
allow 127.0.0.1;
deny all;
}

location ~ \.php$ {
fastcgi_index  index.php;
fastcgi_pass   localhost:9000;
fastcgi_param  SCRIPT_FILENAME    /home/www$fastcgi_script_name;
include /usr/local/etc/nginx/fastcgi.conf;
}
}

참고
http://blog.afurlan.org/2010/05/26/configuring-apache-userdir-nginx/