From cde90620b00c7ef3291d83b63fecd3b5c5faec2a Mon Sep 17 00:00:00 2001 From: Jose Diaz-Gonzalez Date: Sat, 22 Apr 2017 15:18:20 -0600 Subject: [PATCH] docs: Use listener_port in nginx.conf.sigil example Refs #2676 --- docs/configuration/nginx.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/configuration/nginx.md b/docs/configuration/nginx.md index b743a1638..fd7bf6db4 100644 --- a/docs/configuration/nginx.md +++ b/docs/configuration/nginx.md @@ -178,7 +178,7 @@ 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 }} ```