diff --git a/plugins/nginx-vhosts/templates/nginx.conf.sigil b/plugins/nginx-vhosts/templates/nginx.conf.sigil index 84c51ae22..a0768e8a2 100644 --- a/plugins/nginx-vhosts/templates/nginx.conf.sigil +++ b/plugins/nginx-vhosts/templates/nginx.conf.sigil @@ -83,6 +83,6 @@ upstream {{ $.APP }}-{{ $upstream_port }} { {{ $listener_list := $listeners | split ":" }} {{ $listener_ip := index $listener_list 0 }} {{ $listener_port := index $listener_list 1 }} - server {{ $listener_ip }}:{{ $upstream_port }};{{ end }} + server {{ $listener_ip }}:{{ $listener_port }};{{ end }} } {{ end }}{{ end }}