Update Caddyfile routes and auth import
This commit is contained in:
+10
-6
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user