From 391acc49f92166977b7e1d24d4af38a0ce393000 Mon Sep 17 00:00:00 2001 From: Eunhak Lee <lee@enak.kr> Date: Sat, 30 Nov 2024 16:38:54 +0900 Subject: [PATCH] =?UTF-8?q?chore:=20protection=20mode=20=ED=95=B4=EC=A0=9C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- redis/redis.conf | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/redis/redis.conf b/redis/redis.conf index e818894..99c77f2 100644 --- a/redis/redis.conf +++ b/redis/redis.conf @@ -85,7 +85,7 @@ # You will also need to set a password unless you explicitly disable protected # mode. # ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -bind 127.0.0.1 -::1 +bind * -::* # By default, outgoing connections (from replica to master, from Sentinel to # instances, cluster bus, etc.) are not bound to a specific local address. In @@ -109,7 +109,7 @@ bind 127.0.0.1 -::1 # By default protected mode is enabled. You should disable it only if # you are sure you want clients from other hosts to connect to Redis # even if no authentication is configured. -protected-mode yes +protected-mode no # Redis uses default hardened security configuration directives to reduce the # attack surface on innocent users. Therefore, several sensitive configuration @@ -339,7 +339,7 @@ daemonize no # # Note that on modern Linux systems "/run/redis.pid" is more conforming # and should be used instead. -pidfile /var/run/redis_6379.pid +pidfile /run/redis_6379.pid # Specify the server verbosity level. # This can be one of: -- GitLab