From dc291701faebedb2af27c20d6bc7dcf97e2560d9 Mon Sep 17 00:00:00 2001 From: Aapo Talvensaari Date: Tue, 24 Oct 2023 10:02:57 +0200 Subject: [PATCH] chore(conf): gui #admin_listen > 0 -> #admin_listeners > 0 (#11818) Signed-off-by: Aapo Talvensaari --- kong/templates/nginx_kong.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/kong/templates/nginx_kong.lua b/kong/templates/nginx_kong.lua index 2b797caff6e8..7e9a04bb4f93 100644 --- a/kong/templates/nginx_kong.lua +++ b/kong/templates/nginx_kong.lua @@ -453,7 +453,7 @@ server { } > end -> if (role == "control_plane" or role == "traditional") and #admin_listen > 0 and #admin_gui_listeners > 0 then +> if (role == "control_plane" or role == "traditional") and #admin_listeners > 0 and #admin_gui_listeners > 0 then server { server_name kong_gui; > for i = 1, #admin_gui_listeners do @@ -496,7 +496,7 @@ server { include nginx-kong-gui-include.conf; } -> end -- of the (role == "control_plane" or role == "traditional") and #admin_listen > 0 and #admin_gui_listeners > 0 +> end -- of the (role == "control_plane" or role == "traditional") and #admin_listeners > 0 and #admin_gui_listeners > 0 > if role == "control_plane" then server {