fix: global variables are not allowed
This commit is contained in:
parent
854c2031c2
commit
2b3e6dcdf8
1 changed files with 4 additions and 8 deletions
12
Caddyfile
12
Caddyfile
|
@ -5,10 +5,6 @@
|
|||
}
|
||||
}
|
||||
|
||||
vars {
|
||||
HOST "host.containers.internal"
|
||||
}
|
||||
|
||||
# Grafana
|
||||
|
||||
:59090 {
|
||||
|
@ -16,7 +12,7 @@ vars {
|
|||
level INFO
|
||||
}
|
||||
|
||||
reverse_proxy {vars.HOST}:9090
|
||||
reverse_proxy host.containers.internal:9090
|
||||
}
|
||||
|
||||
# Forgejo (web)
|
||||
|
@ -26,7 +22,7 @@ vars {
|
|||
level INFO
|
||||
}
|
||||
|
||||
reverse_proxy {vars.HOST}:3000
|
||||
reverse_proxy host.containers.internal:3000
|
||||
}
|
||||
|
||||
# Forgejo (ssh)
|
||||
|
@ -36,7 +32,7 @@ vars {
|
|||
level INFO
|
||||
}
|
||||
|
||||
reverse_proxy {vars.HOST}:2052
|
||||
reverse_proxy host.containers.internal:2052
|
||||
}
|
||||
|
||||
# Forgejo (postgres exporter / Prometheus)
|
||||
|
@ -46,5 +42,5 @@ vars {
|
|||
level INFO
|
||||
}
|
||||
|
||||
reverse_proxy {vars.HOST}:3001
|
||||
reverse_proxy host.containers.internal:3001
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue