From 55322df6789cf431d3089f6864ac24db1bc13971 Mon Sep 17 00:00:00 2001 From: imterah Date: Tue, 6 May 2025 21:56:05 -0400 Subject: [PATCH] feature: Adds terah.dev in Caddyfile to accelerate migration --- hosts/andromeda/stacks/caddy/volume/Caddyfile | 21 +++++++++++++++++++ 1 file changed, 21 insertions(+) diff --git a/hosts/andromeda/stacks/caddy/volume/Caddyfile b/hosts/andromeda/stacks/caddy/volume/Caddyfile index 48c4828..b1e24ed 100644 --- a/hosts/andromeda/stacks/caddy/volume/Caddyfile +++ b/hosts/andromeda/stacks/caddy/volume/Caddyfile @@ -1,3 +1,24 @@ +# Local terah.dev connection isn't used in production, only in testing. +# However, we're doing migration right now, so testing is important. + +terah.dev, *.terah.dev { + tls { + dns cloudflare {env.CF_API_TOKEN} + resolvers 1.1.1.1 + } + + reverse_proxy /* 127.0.0.1:8000 +} + +matrix.terah.dev, https://matrix.terah.dev:8448 { + tls { + dns cloudflare {env.CF_API_TOKEN} + resolvers 1.1.1.1 + } + + reverse_proxy /* 127.0.0.1:8000 +} + hofers.cloud, *.hofers.cloud { tls { dns cloudflare {env.CF_API_TOKEN}