summarylogtreecommitdiffstats
path: root/redis.conf-sane-defaults.patch
blob: 7c47275c0799474cad9c98f6f12853f440b6fb04 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
diff --git a/redis.conf b/redis.conf
index adc0902..66d360d 100644
--- a/redis.conf
+++ b/redis.conf
@@ -53,7 +53,7 @@
 # Examples:
 #
 # bind 192.168.1.100 10.0.0.1
-# bind 127.0.0.1 ::1
+bind 127.0.0.1 ::1
 #
 # ~~~ WARNING ~~~ If the computer running Redis is directly exposed to the
 # internet, binding to all the interfaces is dangerous and will expose the
@@ -252,7 +252,7 @@ dbfilename dump.rdb
 # The Append Only File will also be created inside this directory.
 #
 # Note that you must specify a directory here, not a file name.
-dir ./
+dir /var/lib/redis/
 
 ################################# REPLICATION #################################