Skip to content

Commit

Permalink
Sentinel example config: warn about protected mode.
Browse files Browse the repository at this point in the history
  • Loading branch information
antirez committed Aug 11, 2016
1 parent 9f779b3 commit e0d4146
Showing 1 changed file with 16 additions and 1 deletion.
17 changes: 16 additions & 1 deletion sentinel.conf
Original file line number Diff line number Diff line change
@@ -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
Expand Down Expand Up @@ -178,4 +194,3 @@ sentinel failover-timeout mymaster 180000
#
# sentinel client-reconfig-script mymaster /var/redis/reconfig.sh


0 comments on commit e0d4146

Please sign in to comment.