Problems with setup redis cache


During redis setup (–wpredis), EE install this redis object cache plugin

But on document
they suggested a different redis object cache plugin.

During installation it says Unable to locate package php5-redis

After that i follow this tutorial for redis_cache with conditional purging

here after installation when i check nginx -t && service nginx reload, it says

nginx: [emerg] duplicate location “/” in /etc/nginx/common/redis-php7.conf:20

I can’t able to load the nginx.

I couldn’t able to login to my dashboard due to nginx failed to load.

please someone help.