Initial LisgloSIPS V2 implementation
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
bind 127.0.0.1 100.90.90.91
|
||||
protected-mode yes
|
||||
port 6379
|
||||
unixsocket /run/redis/redis-server.sock
|
||||
unixsocketperm 770
|
||||
dir /var/lib/redis
|
||||
dbfilename dump.rdb
|
||||
appendonly yes
|
||||
appendfilename "appendonly.aof"
|
||||
appenddirname "appendonlydir"
|
||||
appendfsync everysec
|
||||
save ""
|
||||
save 900 1
|
||||
save 300 10
|
||||
save 60 10000
|
||||
stop-writes-on-bgsave-error yes
|
||||
maxmemory 1536mb
|
||||
maxmemory-policy noeviction
|
||||
tcp-keepalive 60
|
||||
aclfile /etc/redis/users.acl
|
||||
@@ -0,0 +1,5 @@
|
||||
# Do not deploy this file as-is. Replace both placeholders with independent
|
||||
# generated secrets and install the result as /etc/redis/users.acl, mode 0640.
|
||||
user default off
|
||||
user lisglosips on >GENERATE_APP_SECRET ~* &* +@all -@dangerous
|
||||
user lisglo-backup on >GENERATE_BACKUP_SECRET ~* &* +ping +info +bgsave +lastsave
|
||||
Reference in New Issue
Block a user