From 795757320d9eabb050deb52cd955d5ee5fa29362 Mon Sep 17 00:00:00 2001 From: Andreas Knuth Date: Fri, 21 Feb 2025 17:41:09 -0600 Subject: [PATCH] =?UTF-8?q?einzelne=20Eintr=C3=A4ge?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- caddy/Caddyfile | 26 +++++++++++++++++++++++++- 1 file changed, 25 insertions(+), 1 deletion(-) diff --git a/caddy/Caddyfile b/caddy/Caddyfile index 90d7974..6ae8d12 100644 --- a/caddy/Caddyfile +++ b/caddy/Caddyfile @@ -14,7 +14,31 @@ www.bizmatch.net { dns cloudflare q1P7J3uqS96FGj_iiX2mI8y1ulTaIFrTp8tyTXhG } } -bayarea-cc.com, www.bayarea-cc.com { +www.bayarea-cc.com { + # SSL/TLS mit Cloudflare DNS Challenge + tls { + dns cloudflare q1P7J3uqS96FGj_iiX2mI8y1ulTaIFrTp8tyTXhG + } + + handle /api { + reverse_proxy host.docker.internal:3001 + } + + handle { + root * /app + try_files {path} /index.html + file_server + } + + # Logging für Debugging + log { + output stderr + format console + } + + encode gzip +} +bayarea-cc.com { # SSL/TLS mit Cloudflare DNS Challenge tls { dns cloudflare q1P7J3uqS96FGj_iiX2mI8y1ulTaIFrTp8tyTXhG