Fix intention for alertmanager

This commit is contained in:
Daniel Berteaud 2024-03-28 11:21:31 +01:00
parent 7b9a1ef9e7
commit fd4385c4f0
1 changed files with 1 additions and 1 deletions

View File

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