File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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-
122122The default is
123123
124124 proxy.addr = :9999
You can’t perform that action at this time.
0 commit comments