Fix typo PassthrougBackends -> PassthroughBackends

This commit is contained in:
Justin Santa Barbara 2016-12-29 17:57:51 -05:00
parent 8e90fc0290
commit fb8208cf8b
4 changed files with 13 additions and 13 deletions

View file

@ -399,7 +399,7 @@ http {
stream {
# map FQDN that requires SSL passthrough
map $ssl_preread_server_name $stream_upstream {
{{ range $i, $passthrough := .PassthrougBackends }}
{{ range $i, $passthrough := .PassthroughBackends }}
{{ $passthrough.Hostname }} {{ $passthrough.Backend }};
{{ end }}
# send SSL traffic to this nginx in a different port
@ -416,7 +416,7 @@ stream {
server 127.0.0.1:442;
}
{{ buildSSPassthroughUpstreams $backends .PassthrougBackends }}
{{ buildSSPassthroughUpstreams $backends .PassthroughBackends }}
server {
listen [::]:443 ipv6only=off;