Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
e0d41466
Commit
e0d41466
authored
Aug 11, 2016
by
antirez
Browse files
Sentinel example config: warn about protected mode.
parent
9f779b33
Changes
1
Hide whitespace changes
Inline
Side-by-side
sentinel.conf
View file @
e0d41466
# Example sentinel.conf
# 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>
# port <sentinel-port>
# The port that this sentinel instance will run on
# The port that this sentinel instance will run on
port
26379
port
26379
...
@@ -178,4 +194,3 @@ sentinel failover-timeout mymaster 180000
...
@@ -178,4 +194,3 @@ sentinel failover-timeout mymaster 180000
#
#
# sentinel client-reconfig-script mymaster /var/redis/reconfig.sh
# sentinel client-reconfig-script mymaster /var/redis/reconfig.sh
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment