nginx proxy and wordpress multi user

WordPress multi user get a for serving blog experince to our student.

The architecture is :

Firewall -> FreeBSD Box -> Jail Box

A lot of jails (around 14) put inside FreeBSD Box to server student with different purpose. One of them is for wordpress muti user.

# jls

JID  IP Address      Hostname                      Path
14  172.88.0.14     blog.digitalfusi.com           /data2/jails/blogcom
13  172.88.0.12     db.digitalfusi.com             /data2/jails/db
12  172.88.0.13     demo.digitalfusi.com           /data2/jails/demoint
11  172.88.0.11     outside.digitalfusi.com        /data2/jails/outside
10  172.88.0.10     mail.rasyid.net           /data/jails/mailserver
9  172.88.0.9      sandbox.digitalfusi.com        /data2/jails/sandbox
8  172.88.0.7      blog.rasyid.net           /data2/jails/blog
7  172.88.0.8      demo2.digitalfusi.com          /data2/jails/demo2
6  172.88.0.6      palembang.digitalfusi.com      /data/jails/palembang
5  172.88.0.5      jambi.digitalfusi.com          /data/jails/jambi
4  172.88.0.4      lahat.digitalfusi.com          /data/jails/lahat

3  172.88.0.3      prabumulih.digitalfusi.com     /data/jails/prabumulih
2  172.88.0.2      linggau.digitalfusi.com        /data/jails/linggau
1  172.88.0.1      baturaja.digitalfusi.com       /data/jails/baturaja

To establish connection to jail box I use this rules in nginx.conf :

For serving *.blog.rasyid.net for end user.

server {
listen 80;
server_name www.blog.rasyid.net   .blog.rasyid.net;
location / {
proxy_pass http://172.88.0.7;
proxy_set_header Host $host;
}
}

I use nginx :

# pkg_info | grep nginx
nginx-devel-0.7.41  Robust and small WWW server

Great, I love nginx icon smile nginx proxy and wordpress multi user