Skip to content

Commit 5eb5fb3

Browse files
fix: new example renamed
1 parent 07b5d89 commit 5eb5fb3

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

docs/content/ref/proxy.addr.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,11 @@ to the destination without decrypting the traffic.
9090
# Multiple listeners
9191
proxy.addr = 1.2.3.4:9999;rt=3s,[2001:DB8::A/32]:9999;wt=5s
9292

93+
# Multiple listeners with different protocols and options
94+
proxy.addr = 172.16.20.11:80;proto=http;rt=60s;wt=30s, \
95+
172.16.20.11:443;proto=https;rt=60s;wt=30s;cs=all;tlsmin=10, \
96+
172.16.20.11:8443;proto=tcp+sni
97+
9398
# HTTPS listener on port 443 with certificate source
9499
proxy.addr = :443;cs=some-name
95100

@@ -114,11 +119,6 @@ to the destination without decrypting the traffic.
114119
# TCP listeners using consul for config with 5 second refresh interval
115120
proxy.addr = 0.0.0.0:0;proto=tcp-dynamic;refresh=5s
116121

117-
# Single instance serving multiple protocols via distinct listener
118-
proxy.addr = 172.16.20.11:80;proto=http;rt=60s;wt=30s,\
119-
172.16.20.11:443;proto=https;rt=60s;wt=30s;cs=all;tlsmin=10, \
120-
172.16.20.11:8443;proto=tcp+sni
121-
122122
The default is
123123

124124
proxy.addr = :9999

0 commit comments

Comments
 (0)