Skip to content

Commit 4c5610e

Browse files
authored
add ACL example
1 parent cfdb9f1 commit 4c5610e

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

README.md

+9
Original file line numberDiff line numberDiff line change
@@ -108,6 +108,15 @@ define( 'WP_REDIS_SSL_CONTEXT', [
108108

109109
</details>
110110

111+
<details>
112+
<summary>Connecting using ACL authentication</summary>
113+
114+
```php
115+
define( 'WP_REDIS_PASSWORD', [ 'username', 'password' ] );
116+
```
117+
118+
</details>
119+
111120
## Scaling
112121

113122
Redis Object Cache offers various replication, sharding, cluster and sentinel setups to users with advanced technical knowledge of Redis and PHP, that have consulted the [Predis](https://github.com/predis/predis), [PhpRedis](https://github.com/phpredis/phpredis) or [Relay](https://relay.so/docs) documentation.

0 commit comments

Comments
 (0)