In my nginx.conf for openresty i am using two Redis one is for storing SSL certificate in AWS cloud and another Redis is in the same server of openresty for cache purposes not sure why I am getting this issue, due to this issue I am getting 500 internal server error in my production.