Also, you could use LUA with nginx to increase the flexibility (if the lack of it was what you mean).
[0] http://openresty.org/
I think this is what Taobao uses/used: https://github.com/alibaba/tengine