Skip to content

Commit 2899813

Browse files
committed
Link to redis:// scheme IANA registration in docs
1 parent 98e3e7a commit 2899813

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,14 @@ server or a different port, try:
4343
redis = Redis.new(:host => "10.0.1.1", :port => 6380, :db => 15)
4444
```
4545

46-
You can also specify connection options as an URL:
46+
You can also specify connection options as a [`redis://` URL][redis-url]:
4747

4848
```ruby
4949
redis = Redis.new(:url => "redis://:[email protected]:6380/15")
5050
```
5151

52+
[redis-url]: http://www.iana.org/assignments/uri-schemes/prov/redis
53+
5254
By default, the client will try to read the `REDIS_URL` environment variable
5355
and use that as URL to connect to. The above statement is therefore equivalent
5456
to setting this environment variable and calling `Redis.new` without arguments.

0 commit comments

Comments
 (0)