Merge branch 'main' of ssh://gitea.gynther.se:2222/nilsjohan/caddy

This commit is contained in:
Nils-Johan Gynther
2026-06-20 13:09:08 +02:00
+10 -6
View File
@@ -20,15 +20,19 @@
} }
test.gynther.se { test.gynther.se {
import auth
import common import common
reverse_proxy recipe-flutter:5000 reverse_proxy recipe-flutter:5000
} }
<<<<<<< HEAD
nzbget.gynther.se { nzbget.gynther.se {
import common import common
reverse_proxy http://192.168.50.4:6789 reverse_proxy http://192.168.50.4:6789
} }
=======
>>>>>>> 0f6813d (Update Caddyfile routes and auth import)
prowlarr.gynther.se { prowlarr.gynther.se {
import common import common
reverse_proxy http://prowlarr:9696 reverse_proxy http://prowlarr:9696
@@ -93,15 +97,15 @@ recept.gynther.se {
# === RECIPE FRONTEND PROXY ENDPOINTS === # === RECIPE FRONTEND PROXY ENDPOINTS ===
# Next.js API routes # Next.js API routes
handle /api/inventory-history-proxy { handle /api/inventory-history-proxy {
reverse_proxy recipe-frontend:3000 reverse_proxy recipe-flutter:5000
} }
handle /api/admin/merge-preview-proxy { handle /api/admin/merge-preview-proxy {
reverse_proxy recipe-frontend:3000 reverse_proxy recipe-flutter:5000
} }
handle /api/recipe-preview-proxy { handle /api/recipe-preview-proxy {
reverse_proxy recipe-frontend:3000 reverse_proxy recipe-flutter:5000
} }
# === RECIPE BACKEND API ENDPOINTS === # === RECIPE BACKEND API ENDPOINTS ===
@@ -126,9 +130,9 @@ recept.gynther.se {
# === CATCH ALL === # === CATCH ALL ===
# Övriga /api/* går till frontend # Övriga /api/* går till frontend
handle /api/* { handle /api/* {
reverse_proxy recipe-frontend:3000 reverse_proxy recipe-flutter:5000
} }
# Frontend - catch all remaining routes (port 3000) # Frontend - catch all remaining routes (port 5000)
reverse_proxy /* recipe-frontend:3000 reverse_proxy /* recipe-flutter:5000
} }