Fix Grafana intention

This commit is contained in:
Daniel Berteaud 2024-03-26 15:47:41 +01:00
parent d698ce0827
commit cda0499371
2 changed files with 3 additions and 1 deletions

View File

@ -7,7 +7,8 @@ Sources = [
{
Action = "allow"
HTTP {
PathPrefix = "[[ if eq (urlParse .monitoring.grafana.public_url).Path "" ]]/[[ else ]][[ (urlParse .monitoring.grafana.public_url).Path ]][[ end ]]"
PathPrefix = "/"
Methods = ["GET", "HEAD", "OPTIONS", "POST", "PUT", "PATCH", "DELETE"]
}
}
]

View File

@ -8,6 +8,7 @@ Sources = [
Action = "allow"
HTTP {
PathPrefix = "/"
Methods = ["GET", "HEAD", "OPTIONS", "POST", "PUT", "PATCH", "DELETE"]
}
}
]