Browse Source

fix bug

main
xiaoz 6 days ago
parent
commit
4aed838a86
  1. 4
      redis/redis.conf

4
redis/redis.conf

@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
# --- 基础网络配置 ---
# 生产环境务必绑定内网 IP,不要仅监听 0.0.0.0
bind 127.0.0.1
bind 0.0.0.0
port 6379
tcp-backlog 511
timeout 0
@ -18,7 +18,7 @@ rename-command DEBUG "" @@ -18,7 +18,7 @@ rename-command DEBUG ""
daemonize no
pidfile /var/run/redis_6379.pid
loglevel notice
logfile /data/redis.log
logfile /var/log/redis.log
databases 16
# --- RDB 持久化配置 ---

Loading…
Cancel
Save