From: Joel Rosdahl Date: Thu, 7 Jul 2022 10:31:19 +0000 (+0200) Subject: doc: Improve description of Redis URLs X-Git-Tag: v4.7~161 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1b2ea8b873991672bcac351268312bc9ba954143;p=thirdparty%2Fccache.git doc: Improve description of Redis URLs --- diff --git a/doc/MANUAL.adoc b/doc/MANUAL.adoc index 4f5b00cb9..759590910 100644 --- a/doc/MANUAL.adoc +++ b/doc/MANUAL.adoc @@ -1157,8 +1157,11 @@ The default is *subdirs*. === Redis storage backend -URL format: `+redis://[[USERNAME:]PASSWORD@]HOST[:PORT][/DBNUMBER]+` -Alternative: `+redis+unix://[[USERNAME:]PASSWORD@localhost]SOCKET_PATH[?db=DBNUMBER]+` +URL formats: + +`+redis://[[USERNAME:]PASSWORD@]HOST[:PORT][/DBNUMBER]+` + +`+redis+unix:SOCKET_PATH[?db=DBNUMBER]+` + +`+redis+unix://[[USERNAME:]PASSWORD@localhost]SOCKET_PATH[?db=DBNUMBER]+` This backend stores data in a https://redis.io[Redis] (or Redis-compatible) server. There are implementations for both memory-based and disk-based storage. @@ -1179,7 +1182,7 @@ Examples: * `+redis://p4ssw0rd@cache.example.com:6379/0|connect-timeout=50+` * `+redis+unix:/run/redis.sock+` * `+redis+unix:///run/redis.sock+` -* `+redis+unix://p4ssw0rd@localhost/var/run/redis/redis-server.sock?db=0|connect-timeout=50+` +* `+redis+unix://p4ssw0rd@localhost/run/redis.sock?db=0+` Optional attributes: