config: redis configuration improvement

fix #5