From 7df1c0394954e0e923f26d79fb096cf0d3463ef2 Mon Sep 17 00:00:00 2001 From: ZhangNing10 <135692613+ZhangNing10@users.noreply.github.com> Date: Wed, 22 Nov 2023 15:28:00 +0800 Subject: [PATCH] Revert "adjust nginx config for grafana location regex (#6496)" This reverts commit b6fb2053464fa95d8a8ace1528af8567e7383c2c. --- config-ui/nginx.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config-ui/nginx.conf b/config-ui/nginx.conf index 528766a2fcb..c6e5e7b9522 100644 --- a/config-ui/nginx.conf +++ b/config-ui/nginx.conf @@ -43,7 +43,7 @@ ${SERVER_CONF} proxy_set_header "Connection" ""; } - location ~ ^/grafana(?:/|$) { + location /grafana/ { set $external "${USE_EXTERNAL_GRAFANA}"; if ($external = "true") { return 302 "${GRAFANA_ENDPOINT}";