fix redis configuration in middleware
Merge branch 'hotfix/0.8.15'