From 74b3a33af51bc24e50cb2872a569156176d8f73b Mon Sep 17 00:00:00 2001 From: Claudio Maradonna Date: Wed, 4 Aug 2021 18:25:50 +0200 Subject: [PATCH] feature: redis localhost hardening config example --- redis/etc/redis.conf | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 redis/etc/redis.conf diff --git a/redis/etc/redis.conf b/redis/etc/redis.conf new file mode 100644 index 0000000..fc6e3db --- /dev/null +++ b/redis/etc/redis.conf @@ -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