Merge pull request #604 from jonaskint/master
Fixing wildcard in hostname for the upstream map
This commit is contained in:
commit
4817ddff3a
1 changed files with 1 additions and 0 deletions
|
@ -479,6 +479,7 @@ stream {
|
||||||
{{ if gt (len $passthroughBackends) 0 }}
|
{{ if gt (len $passthroughBackends) 0 }}
|
||||||
# map FQDN that requires SSL passthrough
|
# map FQDN that requires SSL passthrough
|
||||||
map $ssl_preread_server_name $stream_upstream {
|
map $ssl_preread_server_name $stream_upstream {
|
||||||
|
hostnames;
|
||||||
{{ range $i, $passthrough := .PassthroughBackends }}
|
{{ range $i, $passthrough := .PassthroughBackends }}
|
||||||
{{ $passthrough.Hostname }} {{ $passthrough.Backend }};
|
{{ $passthrough.Hostname }} {{ $passthrough.Backend }};
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
Loading…
Reference in a new issue