feature: redis localhost hardening config example

This commit is contained in:
2021-08-04 18:25:50 +02:00
parent 6acef2a0c3
commit 74b3a33af5

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