phase 11
This commit is contained in:
@@ -98,6 +98,13 @@ http {
|
||||
proxy_set_header Host $host;
|
||||
}
|
||||
|
||||
# Detection API (replay, retry, checkpoints)
|
||||
location /api/detect/ {
|
||||
proxy_pass http://fastapi/detect/;
|
||||
proxy_set_header Host $host;
|
||||
proxy_set_header X-Real-IP $remote_addr;
|
||||
}
|
||||
|
||||
# SSE streams — disable buffering for realtime delivery
|
||||
location /api/detect/stream/ {
|
||||
proxy_pass http://fastapi/detect/stream/;
|
||||
|
||||
Reference in New Issue
Block a user