;;
;;  redis-tls.conf -- stunnel(1) configuration for Redis-over-TLS
;;

debug        = 5
output       = @l_prefix@/var/redis/log/redis-tls.log
pid          = @l_prefix@/var/redis/run/redis-tls.pid
fips         = no

socket       = l:TCP_NODELAY=1
socket       = r:TCP_NODELAY=1

CAfile       = @l_prefix@/etc/redis/redis-tls-ca.crt
cert         = @l_prefix@/etc/redis/redis-tls-sv.crt
key          = @l_prefix@/etc/redis/redis-tls-sv.key

[redis]
accept       = 127.0.0.1:6279
connect      = 127.0.0.1:6379

