summarylogtreecommitdiffstats
path: root/tlsrouter.sample.conf
blob: bdc1bcaad600c4643617cbe2c8584baaa51bc535 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Basic hostname -> backend mapping
go.universe.tf localhost:1234

# DNS wildcards are understood as well.
*.go.universe.tf 1.2.3.4:8080

# DNS wildcards can go anywhere in name.
google.* 10.20.30.40:443

# RE2 regexes are also available
/(alpha|beta|gamma)\.mon(itoring)?\.dave\.tf/ 100.200.100.200:443

# If your backend supports HAProxy's PROXY protocol, you can enable
# it to receive the real client ip:port.

fancy.backend 2.3.4.5:443 PROXY