You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@devlake.apache.org by ab...@apache.org on 2023/11/22 07:40:44 UTC
(incubator-devlake) branch main updated: Revert "adjust nginx config for grafana location regex (#6496)" (#6501)
This is an automated email from the ASF dual-hosted git repository.
abeizn pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/incubator-devlake.git
The following commit(s) were added to refs/heads/main by this push:
new 7661606b7 Revert "adjust nginx config for grafana location regex (#6496)" (#6501)
7661606b7 is described below
commit 7661606b73277e5bc1cd51a31e9b0af2623119ed
Author: ZhangNing10 <13...@users.noreply.github.com>
AuthorDate: Wed Nov 22 15:40:40 2023 +0800
Revert "adjust nginx config for grafana location regex (#6496)" (#6501)
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 528766a2f..c6e5e7b95 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}";