fixed the compatible problem with nginx-1.5.8

Signed-off-by: paulyang <y_y@neusoft.com>
support old nginx versions for previous commit

based on commit 7957d05c2559f4db92b6d0940ce752608786cdc5:
    fixed the compatible problem with nginx-1.5.8

Signed-off-by: paulyang <y_y@neusoft.com>
Merge pull request #84 from InfoHunter/master

fixed the compatible problem with nginx-1.5.8
Merge remote branch 'upstream/master'