I am new to nginx,
bug, as far as I know,
nginx is known to be a fast light webserver.
So, having each rewrite to be looked up in a mysql table seems
something very slow idea.
rewrite is something to be done on the fly, as fast as possible. and
putting a mysql layer in this process seems not a good idea.