forked from unitoo/configurations
feature: redis localhost hardening config example
This commit is contained in:
parent
6acef2a0c3
commit
74b3a33af5
1 changed files with 13 additions and 0 deletions
13
redis/etc/redis.conf
Normal file
13
redis/etc/redis.conf
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
### Localhost hardening configuration with systemd supervision
|
||||||
|
# BEGIN CONFIG
|
||||||
|
|
||||||
|
supervised systemd
|
||||||
|
bind 127.0.0.1 ::1
|
||||||
|
|
||||||
|
requirepass `openssl rand 60 | openssl base64 -A`
|
||||||
|
|
||||||
|
rename-command FLUSHDB ""
|
||||||
|
rename-command FLUSHALL ""
|
||||||
|
rename-command DEBUG ""
|
||||||
|
|
||||||
|
# OTHER CONFIG
|
Loading…
Reference in a new issue