|
@@ -66,7 +66,7 @@
|
|
|
# IF YOU ARE SURE YOU WANT YOUR INSTANCE TO LISTEN TO ALL THE INTERFACES
|
|
|
# JUST COMMENT THE FOLLOWING LINE.
|
|
|
# ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
|
|
|
-bind 127.0.0.1
|
|
|
+#bind 127.0.0.1
|
|
|
|
|
|
# Protected mode is a layer of security protection, in order to avoid that
|
|
|
# Redis instances left open on the internet are accessed and exploited.
|
|
@@ -85,7 +85,7 @@ bind 127.0.0.1
|
|
|
# you are sure you want clients from other hosts to connect to Redis
|
|
|
# even if no authentication is configured, nor a specific set of interfaces
|
|
|
# are explicitly listed using the "bind" directive.
|
|
|
-protected-mode yes
|
|
|
+protected-mode no
|
|
|
|
|
|
# Accept connections on the specified port, default is 6379 (IANA #815344).
|
|
|
# If port 0 is specified Redis will not listen on a TCP socket.
|
|
@@ -133,7 +133,7 @@ tcp-keepalive 300
|
|
|
|
|
|
# By default Redis does not run as a daemon. Use 'yes' if you need it.
|
|
|
# Note that Redis will write a pid file in /var/run/redis.pid when daemonized.
|
|
|
-daemonize no
|
|
|
+daemonize yes
|
|
|
|
|
|
# If you run Redis from upstart or systemd, Redis can interact with your
|
|
|
# supervision tree. Options:
|