Skip to content

Commit

Permalink
chore(conf): gui #admin_listen > 0 -> #admin_listeners > 0 (#11818)
Browse files Browse the repository at this point in the history
Signed-off-by: Aapo Talvensaari <[email protected]>
  • Loading branch information
bungle authored Oct 24, 2023
1 parent 59670a1 commit dc29170
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kong/templates/nginx_kong.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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 {
Expand Down

1 comment on commit dc29170

@khcp-gha-bot
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bazel Build

Docker image available kong/kong:dc291701faebedb2af27c20d6bc7dcf97e2560d9
Artifacts available https://github.com/Kong/kong/actions/runs/6624007538

Please sign in to comment.