From 2b3e6dcdf8f9e047379896a363e54020b1f5f855 Mon Sep 17 00:00:00 2001 From: Marc Cataford Date: Tue, 11 Jun 2024 21:11:26 -0400 Subject: [PATCH] fix: global variables are not allowed --- Caddyfile | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/Caddyfile b/Caddyfile index fbec090..c3c9d45 100644 --- a/Caddyfile +++ b/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 }