forked from jhunt/pgrouter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.sample
47 lines (41 loc) · 820 Bytes
/
config.sample
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# pgrouter.conf
listen *:5432
monitor 127.0.0.1:9881
workers 64
hba /path/to/hba
tls {
ciphers ALL:!EXP:!LOW
cert /path/to/pem
key /path/to/pem
}
user vagrant
group vagrant
pidfile /tmp/pid.pid.pidfile
authdb passwd.sample
log INFO
health {
timeout 3s
check 7s
database postgres
username pgtest
#password "s\ekrit squirrel"
username hedgehog
password frank
database hedgehog
}
#backend default tls skipverify
#backend default lag 200
#backend default weight 100
backend default {
tls skipverify;
lag 200
weight 100
}
backend 10.244.232.2:6432 { }
backend 10.244.232.3:6432 { }
backend 10.244.232.4:6432 { }
#backend 10.0.0.5:6432 { lag 800; }
#backend 10.0.0.6:6432 { }
backend default { tls off }
#backend 10.0.0.7:6432 { weight 125; lag 500b }
#backend 10.0.0.8:6432 { weight 250 }