Use correct port number for the upstream.
This commit is contained in:
1 parent
ee27ea76a6
commit
52b45d74cb
1 file changed
+1
-1
@@ -119,6 +119,6 @@ upstream {{ $.APP }}-{{ $upstream_port }} {
|
||||
{{ $listener_list := $listeners | split ":" }}
|
||||
{{ $listener_ip := index $listener_list 0 }}
|
||||
{{ $listener_port := index $listener_list 1 }}
|
||||
server {{ $listener_ip }}:{{ $listener_port }};{{ end }}
|
||||
server {{ $listener_ip }}:{{ $upstream_port }};{{ end }}
|
||||
}
|
||||
{{ end }}{{ end }}
|
||||
Reference in new issue
Block a user