For single node/standalone:
In LiteSpeed Object Cache settings, establish your Redis connection with:
Object Cache: ON
Method: Redis
Host: /var/run/redis/redis.sock
Port: 0
![](https://docs.mightybox.io/wp-content/uploads/2023/08/image-49.png)
For cluster environments:
In LiteSpeed Object Cache settings, establish your Redis connection with:
Object Cache: ON
Method: Redis
Host: Copy the IP address from the Redis node:
![](https://docs.mightybox.io/wp-content/uploads/2023/10/redis-1-1024x241.png)
Port: Enter 6379
Password: Retrieve password by going to Config on the Redis node:
![](https://docs.mightybox.io/wp-content/uploads/2023/10/redis-2-1024x238.png)
- Open
redis.conf
and on the bottom of the file you will find the password.
![](https://docs.mightybox.io/wp-content/uploads/2023/10/redis-3-1024x451.png)
Make sure to click on Save to save changes.