Skip to content

Commit

Permalink
Revert "adjust nginx config for grafana location regex (#6496)"
Browse files Browse the repository at this point in the history
This reverts commit b6fb205.
  • Loading branch information
ZhangNing10 authored Nov 22, 2023
1 parent b6fb205 commit 7df1c03
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config-ui/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -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}";
Expand Down

0 comments on commit 7df1c03

Please sign in to comment.