forked from lunanting/cangku
17 lines
335 B
INI
17 lines
335 B
INI
global
|
|
log stdout format raw local0
|
|
|
|
defaults
|
|
log global
|
|
mode tcp
|
|
timeout connect 5s
|
|
timeout client 1h
|
|
timeout server 1h
|
|
|
|
frontend redis_tls
|
|
bind *:6380 ssl crt /usr/local/etc/haproxy/certs/redis.pem ssl-min-ver TLSv1.2
|
|
default_backend redis_plain
|
|
|
|
backend redis_plain
|
|
server redis redis:6379 check
|