fixed compatibility with nginx-1.2.7
Merge pull request #67 from notz/master

fixed compatibility with nginx-1.2.7