File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change 58
58
# IF YOU ARE SURE YOU WANT YOUR INSTANCE TO LISTEN TO ALL THE INTERFACES
59
59
# JUST COMMENT THE FOLLOWING LINE.
60
60
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
61
- bind 127.0.0.1
62
61
63
62
# Protected mode is a layer of security protection, in order to avoid that
64
63
# Redis instances left open on the internet are accessed and exploited.
@@ -77,7 +76,7 @@ bind 127.0.0.1
77
76
# you are sure you want clients from other hosts to connect to Redis
78
77
# even if no authentication is configured, nor a specific set of interfaces
79
78
# are explicitly listed using the "bind" directive.
80
- protected-mode yes
79
+ protected-mode no
81
80
82
81
# Accept connections on the specified port, default is 6379 (IANA #815344).
83
82
# If port 0 is specified Redis will not listen on a TCP socket.
@@ -199,6 +198,7 @@ databases 16
199
198
#
200
199
# save ""
201
200
201
+ save ""
202
202
save 900 1
203
203
save 300 10
204
204
save 60 10000
@@ -590,7 +590,8 @@ slave-priority 100
590
590
#
591
591
# Please check http://redis.io/topics/persistence for more information.
592
592
593
- appendonly no
593
+ # appendonly no
594
+ appendonly yes
594
595
595
596
# The name of the append only file (default: "appendonly.aof")
596
597
@@ -619,8 +620,8 @@ appendfilename "appendonly.aof"
619
620
#
620
621
# If unsure, use "everysec".
621
622
622
- # appendfsync always
623
- appendfsync everysec
623
+ appendfsync always
624
+ # appendfsync everysec
624
625
# appendfsync no
625
626
626
627
# When the AOF fsync policy is set to always or everysec, and a background
You can’t perform that action at this time.
0 commit comments