fixed findings from review

This commit is contained in:
2026-01-18 19:10:14 +01:00
parent f76328b621
commit fa2d278c79
8 changed files with 203 additions and 34 deletions

View File

@@ -8,14 +8,13 @@ localhost {
reverse_proxy session-manager:8000
}
# Session-specific routing - dynamically route to containers
# Session-specific routing - proxy to session manager for dynamic routing
handle /session/{session_id}* {
# Strip the session prefix and pass to session manager
uri strip_prefix /session/{session_id}
# This will be handled by dynamic routing in the session manager
reverse_proxy session-manager:8000 {
# The session manager will return the actual container port
# This is a simplified version for development
}
# Add session ID as header for routing
header X-Session-ID {session_id}
reverse_proxy session-manager:8000
}
# Static files and main interface