Some checks failed
Weekly Translation Workflow / translate (push) Has been cancelled
- Replace 'docker run -p 80:80' with '--network host' for certbot standalone HTTP-01 to avoid timeout in environments where Docker NAT port-publish breaks LE inbound traffic but host port 80 is reachable. - Applies to kejilion.sh (all locale variants) and auto_cert_renewal.sh. - README install command points to this Gitea mirror.
32 lines
480 B
Plaintext
32 lines
480 B
Plaintext
# 基础设置
|
|
bind 0.0.0.0
|
|
protected-mode yes
|
|
port 6379
|
|
timeout 300
|
|
tcp-keepalive 300
|
|
|
|
# 性能优化
|
|
io-threads 4
|
|
io-threads-do-reads yes
|
|
databases 1
|
|
maxclients 10000
|
|
|
|
# 内存管理
|
|
maxmemory 2gb
|
|
maxmemory-policy allkeys-lru
|
|
|
|
# 禁用持久化
|
|
save ""
|
|
appendonly no
|
|
rdbcompression no
|
|
rdbchecksum no
|
|
|
|
# 日志设置
|
|
loglevel warning
|
|
logfile ""
|
|
|
|
# 异步删除优化
|
|
lazyfree-lazy-eviction yes
|
|
lazyfree-lazy-expire yes
|
|
lazyfree-lazy-server-del yes
|