Update Caddyfile routes and auth import
This commit is contained in:
+10
-6
@@ -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
|
||||||
@@ -88,15 +92,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 ===
|
||||||
@@ -121,9 +125,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
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user