fixed findings from review
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user