feature: redis localhost hardening config example

This commit is contained in:
Claudio Maradonna 2021-08-04 18:25:50 +02:00
parent 6acef2a0c3
commit 74b3a33af5
Signed by untrusted user: claudiomaradonna
GPG Key ID: B1EDCB4C3B05C387
1 changed files with 13 additions and 0 deletions

13
redis/etc/redis.conf Normal file
View 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