init: fork of kejilion/sh with certbot host-network fix
Some checks failed
Weekly Translation Workflow / translate (push) Has been cancelled
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.
This commit is contained in:
31
valkey.conf
Normal file
31
valkey.conf
Normal file
@@ -0,0 +1,31 @@
|
||||
# 基础设置
|
||||
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
|
||||
Reference in New Issue
Block a user