From d553094a88fe194bdb4f554b038000c07c0f1a36 Mon Sep 17 00:00:00 2001 From: nilsjohan Date: Sat, 30 May 2026 13:59:57 +0200 Subject: [PATCH] Update Caddyfile routes and auth import --- conf/Caddyfile | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/conf/Caddyfile b/conf/Caddyfile index ef16140..98cc0f4 100644 --- a/conf/Caddyfile +++ b/conf/Caddyfile @@ -20,15 +20,19 @@ } test.gynther.se { + import auth import common reverse_proxy recipe-flutter:5000 } +<<<<<<< HEAD nzbget.gynther.se { import common reverse_proxy http://192.168.50.4:6789 } +======= +>>>>>>> 0f6813d (Update Caddyfile routes and auth import) prowlarr.gynther.se { import common reverse_proxy http://prowlarr:9696 @@ -88,15 +92,15 @@ recept.gynther.se { # === RECIPE FRONTEND PROXY ENDPOINTS === # Next.js API routes handle /api/inventory-history-proxy { - reverse_proxy recipe-frontend:3000 + reverse_proxy recipe-flutter:5000 } handle /api/admin/merge-preview-proxy { - reverse_proxy recipe-frontend:3000 + reverse_proxy recipe-flutter:5000 } handle /api/recipe-preview-proxy { - reverse_proxy recipe-frontend:3000 + reverse_proxy recipe-flutter:5000 } # === RECIPE BACKEND API ENDPOINTS === @@ -121,9 +125,9 @@ recept.gynther.se { # === CATCH ALL === # Övriga /api/* går till frontend handle /api/* { - reverse_proxy recipe-frontend:3000 + reverse_proxy recipe-flutter:5000 } - # Frontend - catch all remaining routes (port 3000) - reverse_proxy /* recipe-frontend:3000 + # Frontend - catch all remaining routes (port 5000) + reverse_proxy /* recipe-flutter:5000 }