summaryrefslogtreecommitdiff
path: root/sentinel.conf
diff options
context:
space:
mode:
authorantirez <antirez@gmail.com>2016-08-11 19:53:01 +0200
committerantirez <antirez@gmail.com>2016-08-11 19:53:12 +0200
commite0d4146620b841ad11e981e4cdb335cb34951895 (patch)
tree74b10233bf954f8a62433101d622f5571727d551 /sentinel.conf
parent9f779b33b54615d4bbaaafadfc5d5f9b93e2166b (diff)
downloadredis-e0d4146620b841ad11e981e4cdb335cb34951895.tar.gz
Sentinel example config: warn about protected mode.
Diffstat (limited to 'sentinel.conf')
-rw-r--r--sentinel.conf17
1 files changed, 16 insertions, 1 deletions
diff --git a/sentinel.conf b/sentinel.conf
index 39d1044e2..0e1b266ed 100644
--- a/sentinel.conf
+++ b/sentinel.conf
@@ -1,5 +1,21 @@
# Example sentinel.conf
+# *** IMPORTANT ***
+#
+# By default Sentinel will not be reachable from interfaces different than
+# localhost, either use the 'bind' directive to bind to a list of network
+# interfaces, or disable protected mode with "protected-mode no" by
+# adding it to this configuration file.
+#
+# Before doing that MAKE SURE the instance is protected from the outside
+# world via firewalling or other means.
+#
+# For example you may use one of the following:
+#
+# bind 127.0.0.1 192.168.1.1
+#
+# protected-mode no
+
# port <sentinel-port>
# The port that this sentinel instance will run on
port 26379
@@ -178,4 +194,3 @@ sentinel failover-timeout mymaster 180000
#
# sentinel client-reconfig-script mymaster /var/redis/reconfig.sh
-