From 65990068cb0bbb8ddb988fcac7799bcada1c4299 Mon Sep 17 00:00:00 2001 From: Cosmin Stroe Date: Fri, 4 Aug 2017 00:24:12 -0500 Subject: [PATCH] Revert "Use correct port number for the upstream." This reverts commit 52b45d74cb9535330b5f73d0a03b7b14df9f9a48. --- plugins/nginx-vhosts/templates/nginx.conf.sigil | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/nginx-vhosts/templates/nginx.conf.sigil b/plugins/nginx-vhosts/templates/nginx.conf.sigil index 181f8d8c0..50df0aae6 100644 --- a/plugins/nginx-vhosts/templates/nginx.conf.sigil +++ b/plugins/nginx-vhosts/templates/nginx.conf.sigil @@ -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 }}:{{ $upstream_port }};{{ end }} + server {{ $listener_ip }}:{{ $listener_port }};{{ end }} } {{ end }}{{ end }}