Skip to content

Commit f19057d

Browse files
committed
Fix environment variable naming inconsistencies in docs
The README.md and .env.example files had inconsistent naming for SSL-related environment variables. The actual code uses: - REDIS_SSL_CA_PATH (not REDIS_CA_PATH) - REDIS_SSL_CERT_REQS (not REDIS_CERT_REQS) - REDIS_SSL_CA_CERTS (not REDIS_CA_CERTS) This commit updates the documentation to match the actual variable names used in src/common/config.py.
1 parent a81d2fe commit f19057d

File tree

2 files changed

+7
-7
lines changed

2 files changed

+7
-7
lines changed

.env.example

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@ REDIS_DB=0
44
REDIS_USERNAME=default
55
REDIS_PWD=your_password
66
REDIS_SSL=False
7-
REDIS_CA_PATH=/path/to/ca.pem
7+
REDIS_SSL_CA_PATH=/path/to/ca.pem
88
REDIS_SSL_KEYFILE=/path/to/key.pem
99
REDIS_SSL_CERTFILE=/path/to/cert.pem
10-
REDIS_CERT_REQS=required
11-
REDIS_CA_CERTS=/path/to/ca_certs.pem
10+
REDIS_SSL_CERT_REQS=required
11+
REDIS_SSL_CA_CERTS=/path/to/ca_certs.pem
1212
REDIS_CLUSTER_MODE=False

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,7 @@ The following example is for Claude Desktop, but the same applies to any other M
196196
"REDIS_PORT": "<your_redis_database_port>",
197197
"REDIS_PWD": "<your_redis_database_password>",
198198
"REDIS_SSL": True|False,
199-
"REDIS_CA_PATH": "<your_redis_ca_path>",
199+
"REDIS_SSL_CA_PATH": "<your_redis_ca_path>",
200200
"REDIS_CLUSTER_MODE": True|False
201201
}
202202
}
@@ -309,11 +309,11 @@ If desired, you can use environment variables. Defaults are provided for all var
309309
| `REDIS_USERNAME` | Default database username | `"default"` |
310310
| `REDIS_PWD` | Default database password | "" |
311311
| `REDIS_SSL` | Enables or disables SSL/TLS | `False` |
312-
| `REDIS_CA_PATH` | CA certificate for verifying server | None |
312+
| `REDIS_SSL_CA_PATH` | CA certificate for verifying server | None |
313313
| `REDIS_SSL_KEYFILE` | Client's private key file for client authentication | None |
314314
| `REDIS_SSL_CERTFILE` | Client's certificate file for client authentication | None |
315-
| `REDIS_CERT_REQS` | Whether the client should verify the server's certificate | `"required"` |
316-
| `REDIS_CA_CERTS` | Path to the trusted CA certificates file | None |
315+
| `REDIS_SSL_CERT_REQS`| Whether the client should verify the server's certificate | `"required"` |
316+
| `REDIS_SSL_CA_CERTS` | Path to the trusted CA certificates file | None |
317317
| `REDIS_CLUSTER_MODE` | Enable Redis Cluster mode | `False` |
318318

319319

0 commit comments

Comments
 (0)